StreamAvatarBitmapFactory

class StreamAvatarBitmapFactory(context: Context) : AvatarBitmapFactory

A custom bitmap factory that extends AvatarBitmapFactory to implement Stream SDK's avatar bitmap style.

Constructors

Link copied to clipboard
fun StreamAvatarBitmapFactory(context: Context)

Functions

Link copied to clipboard
open suspend override fun loadAvatarPlaceholderBitmap(data: Any?, avatar: Avatar, avatarSize: Int): Bitmap

Inherited functions

Link copied to clipboard
open fun avatarBitmapKey(avatar: Avatar): String?
Link copied to clipboard
open suspend fun createAvatarBitmaps(avatar: Avatar, avatarSize: Int): Bitmap?
Link copied to clipboard
open suspend fun loadAvatarBitmap(data: Any?, avatar: Avatar, avatarSize: Int): Bitmap?
Link copied to clipboard
open fun loadAvatarBitmapBlocking(data: Any?, avatar: Avatar, avatarSize: Int): Bitmap?
Link copied to clipboard
open fun loadAvatarPlaceholderBitmapBlocking(data: Any?, avatar: Avatar, avatarSize: Int): Bitmap?