Companion

object Companion

Functions

Link copied to clipboard
fun getAttachedBrazeExtras(notificationExtras: <Error class: unknown class>?): <Error class: unknown class>

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

Link copied to clipboard
fun getPushStoryGravityAtIndex(actionIndex: Int, notificationExtras: <Error class: unknown class>, actionFieldKeyTemplate: String): Int
Link copied to clipboard
fun getTemplateFieldAtIndex(index: Int, notificationExtras: <Error class: unknown class>, actionFieldKeyTemplate: String): String?
fun getTemplateFieldAtIndex(index: Int, notificationExtras: <Error class: unknown class>, actionFieldKeyTemplate: String, defaultValue: String?): String?

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

fun getTemplateFieldAtIndex(actionIndex: Int, notificationExtras: <Error class: unknown class>, actionFieldKeyTemplate: String, defaultValue: Boolean): Boolean
fun getTemplateFieldAtIndex(actionIndex: Int, notificationExtras: <Error class: unknown class>, 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: <Error class: unknown class>, key: String): Long?
Link copied to clipboard
fun parseNonBlankString(bundle: <Error class: unknown class>, key: String): String?
Link copied to clipboard
fun parseObjectAsInteger(bundle: <Error class: unknown class>, key: String, defaultValue: Int): Int
Link copied to clipboard
fun parseString(bundle: <Error class: unknown class>, key: String): String?
Link copied to clipboard
fun parseStringAsBoolean(bundle: <Error class: unknown class>, key: String): Boolean
Link copied to clipboard
fun parseStringAsColorInt(bundle: <Error class: unknown class>, key: String): Int?
Link copied to clipboard
fun parseStringAsInteger(bundle: <Error class: unknown class>, key: String): Int?
Link copied to clipboard
fun parseStringAsLong(bundle: <Error class: unknown class>, key: String): Long?