android-components / mozilla.components.concept.awesomebar / AwesomeBar / Suggestion / icon

icon

val icon: (width: Int, height: Int) -> Bitmap? (source)

A lambda that can be invoked by the AwesomeBar implementation to receive an icon Bitmap for this Suggestion. The AwesomeBar will pass in its desired width and height for the Bitmap.

Property

icon - A lambda that can be invoked by the AwesomeBar implementation to receive an icon Bitmap for this Suggestion. The AwesomeBar will pass in its desired width and height for the Bitmap.