onLoadImage

abstract fun onLoadImage(context: Context, message: MindboxRemoteMessage, state: MessageHandlingState): Bitmap?

Loading an image from a message

Return

Bitmap or null. If the bitmap is null, then the message will be displayed without image

Parameters

context

Android context

message

Notification message

state

Current state of message handling

Throws

If an exception is thrown, it will be passed to MindboxImageFailureHandler