toBytes

open fun toBytes(): Array<Byte>

Get the icon bitmap bytes.

Requires the bitmap to be set before calling this method.

Return

the bytes of the bitmap