Companion

object Companion

Functions

Link copied to clipboard
fun getAttachedBrazeExtras(notificationExtras: Bundle?): Bundle

Get the extras Bundle from the notification extras or an empty bundle.

Link copied to clipboard
fun getPushStoryGravityAtIndex(actionIndex: Int, notificationExtras: Bundle, actionFieldKeyTemplate: String): Int
Link copied to clipboard
fun getTemplateFieldAtIndex(index: Int, notificationExtras: Bundle, actionFieldKeyTemplate: String): String?
fun getTemplateFieldAtIndex(index: Int, notificationExtras: Bundle, actionFieldKeyTemplate: String, defaultValue: String?): String?

Returns the value for the given template field key at the specified index.

fun getTemplateFieldAtIndex(actionIndex: Int, notificationExtras: Bundle, actionFieldKeyTemplate: String, defaultValue: Boolean): Boolean
fun getTemplateFieldAtIndex(actionIndex: Int, notificationExtras: Bundle, actionFieldKeyTemplate: String, defaultValue: Long): Long

Returns the boolean value for the given template field key at the specified index.

Link copied to clipboard
fun parseLong(bundle: Bundle, key: String): Long?
Link copied to clipboard
Link copied to clipboard
fun parseObjectAsInteger(bundle: Bundle, key: String, defaultValue: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard