MindboxRemoteMessage
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.
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.