AvatarSource

sealed class AvatarSource

Image payload returned by an AvatarProvider.

Inheritors

Types

Link copied to clipboard
data class Bitmap(val bitmap: <Error class: unknown class>) : AvatarSource

A pre-decoded bitmap.

Link copied to clipboard
data class Bytes(val bytes: ByteArray) : AvatarSource

Encoded image bytes (e.g. JPEG, PNG); decoded once at render time.

Link copied to clipboard
data class Url(val url: String) : AvatarSource

A remote URL that the call UI fetches and decodes itself (no host image-loading library required).