Package-level declarations

Types

Link copied to clipboard

An interface for internal sdk work only. Do not implement it

Link copied to clipboard

An interface for internal sdk work only. Do not implement it

Link copied to clipboard
data class MindboxRemoteMessage(val uniqueKey: String, val title: String, val description: String, val pushActions: List<PushAction>, val pushLink: String?, val imageUrl: String?, val payload: String?)

A class representing mindbox remote message You can use it as a model to store data from mindbox with your custom push notification implementation.

Link copied to clipboard
data class PushAction(val uniqueKey: String?, val text: String?, val url: String?)

A class representing mindbox push action in MindboxRemoteMessage

Link copied to clipboard

A class for internal sdk work only. Do not extend or use it

Functions

Link copied to clipboard
fun MindboxRemoteMessage.getPushActionIntent(context: Context, activity: Class<out Activity>, notificationId: Int, pushAction: PushAction, extras: Bundle? = null): PendingIntent?

Creates a PendingIntent for the push notification action button.

Link copied to clipboard
fun MindboxRemoteMessage.getPushContentIntent(context: Context, activity: Class<out Activity>, notificationId: Int, extras: Bundle? = null): PendingIntent?

Creates a PendingIntent for the push notification content.