generateDefaultFavicon

abstract fun generateDefaultFavicon(placeholder: String?, domain: String): Drawable

Generates a drawable which can be used as a placeholder for a favicon when a real one cannot be found

Parameters

placeholder

the placeholder text to be used. if null, the placeholder letter will be extracted from the domain

domain

the domain of the site for which the favicon is being generated, used to generate background color