Braze Notification Payload
class BrazeNotificationPayload @JvmOverloads constructor(notificationExtras: Bundle?, brazeExtras: Bundle? = getAttachedBrazeExtras(
notificationExtras
), context: Context? = null, var configurationProvider: BrazeConfigurationProvider? = null)
A convenience class for parsing the Braze Notification payload. Values are not lazy-loaded and are computed from the input arguments on each constructor call.
Null return values for methods, such as on .getCustomNotificationId are the result of that key either not existing in the original push payload or not being in the proper expected format.
Constructors
Link copied to clipboard
fun BrazeNotificationPayload(notificationExtras: Bundle?, brazeExtras: Bundle? = getAttachedBrazeExtras(
notificationExtras
), context: Context? = null, configurationProvider: BrazeConfigurationProvider? = null)
Types
Functions
Properties
Link copied to clipboard
Equivalent to Constants.BRAZE_PUSH_BIG_IMAGE_URL_KEY in the "brazeExtras" bundle.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard