Constants

object Constants

Contains Constants used by multiple classes.

Properties

Link copied to clipboard
const val BRAZE: String
Link copied to clipboard

Intent action for push action button clicks.

Link copied to clipboard

Bundle key for the action ID on push action intents.

Link copied to clipboard

Bundle key for the action index on push action intents.

Intent action for geofence transition updates from the location action receiver.

Intent action for single location updates from the location action receiver.

Link copied to clipboard

Bundle key for the action type on push action intents.

Link copied to clipboard

Bundle key for the action URI on push action intents.

Link copied to clipboard

Bundle key indicating whether the action URI should open in a WebView.

Link copied to clipboard

Bundle key for the campaign ID associated with a push notification.

Link copied to clipboard

Intent action for cancelling a notification.

Template key for conversational push message person ID.

Template key for conversational push message text.

Template key for conversational push message timestamp.

Template key for conversational push person ID.

Template key for conversational push person bot flag.

Template key for conversational push person importance flag.

Template key for conversational push person name.

Template key for conversational push person URI.

Push payload key for the reply person ID in conversational push.

Push payload key for conversational push shortcut ID.

Link copied to clipboard

Push payload key indicating a conversational push style.

Link copied to clipboard

Default notification ID when no custom ID is provided.

Default maximum number of geofences to register with the system.

Link copied to clipboard

Value used to identify Braze as the source of an intent.

Link copied to clipboard

Maximum allowed quantity per purchase event.

Minimum duration in milliseconds for a push notification to be displayed.

Link copied to clipboard

Push payload key for the notification accent color.

Link copied to clipboard

Template key for push action button ID.

Link copied to clipboard

Template key for push action button text.

Link copied to clipboard

Template key for push action button type, where * is replaced by the action index.

Link copied to clipboard

Push action type value: no action.

Link copied to clipboard

Push action type value: open the application.

Link copied to clipboard

Push action type value: open a URI.

Link copied to clipboard

Template key for push action button URI.

Template key for push action button WebView flag.

Link copied to clipboard

Push payload key for the big image URL (legacy key).

Link copied to clipboard

Push payload key for the big image URL (top-level key).

Link copied to clipboard

Push payload key for big notification summary text.

Link copied to clipboard

Push payload key for big notification title text.

Link copied to clipboard

Push payload key identifying the notification as originating from Braze.

Link copied to clipboard

Push payload key for the campaign ID.

Link copied to clipboard

Push payload key for notification category.

Link copied to clipboard

Intent action for push notification clicks.

Link copied to clipboard

Card data associated with the current push notification.

Link copied to clipboard

The User Id associated with card data associated with the current push notification.

Link copied to clipboard

Push payload key for the notification body content.

Link copied to clipboard

Push payload key for a custom notification ID override from Braze servers.

Link copied to clipboard

Push payload key for the deep link URI.

The ID used when creating the default notification channel. Must be less than 40 characters.

Link copied to clipboard

Intent action for push notification deletions.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Push payload key for custom key-value extras.

Link copied to clipboard

Push payload key for triggering test in-app message delivery.

Link copied to clipboard

Push payload key indicating an inline image push style.

Link copied to clipboard

The full (i.e. not prefixed with the package name) intent sent when Braze has tracked that a push notification has been dismissed/deleted.

Link copied to clipboard

The full (i.e. not prefixed with the package name) intent sent when Braze has tracked that a push notification has been opened.

Link copied to clipboard

The full (i.e. not prefixed with the package name) intent sent when Braze has tracked that a push notification has been received.

Link copied to clipboard

Push payload key for the large notification icon URL.

Link copied to clipboard

Push payload key for the notification badge count.

Link copied to clipboard

Push payload key for the notification channel ID (Android O+).

Link copied to clipboard

Push payload key for notification display duration.

Link copied to clipboard

Push payload key for the resolved notification ID.

Default sound value indicating the system notification sound.

Link copied to clipboard

Push payload key for notification sound.

Link copied to clipboard

Tag used to identify Braze push notifications in the notification center.

Link copied to clipboard

Push payload key indicating whether the deep link should open in a WebView.

Link copied to clipboard

Push payload key for notification priority.

Link copied to clipboard

Push payload key for the public version of a notification on a secure lockscreen.

Link copied to clipboard

A timestamp indicating when a push notification was displayed by the device.

Link copied to clipboard

Push payload key indicating Banners should be refreshed.

Link copied to clipboard

Push payload key indicating Feature Flags should be refreshed.

Link copied to clipboard

Template key for push story page deep link URI.

Link copied to clipboard

Template key for push story page ID.

Link copied to clipboard

Template key for push story page image URL, where * is replaced by the page index.

Link copied to clipboard

Bundle key indicating whether a push story was newly received.

Link copied to clipboard

Push payload key for push story page data.

Template key for push story page subtitle justification.

Link copied to clipboard

Template key for push story page subtitle.

Template key for push story page title justification.

Link copied to clipboard

Template key for push story page title.

Template key for push story page WebView flag.

Link copied to clipboard

Push payload key for summary text.

Link copied to clipboard

Push payload key indicating geofences should be synced.

Link copied to clipboard

Push payload key for the notification title.

Link copied to clipboard

Push payload key indicating the notification is an uninstall tracking push.

Link copied to clipboard

Caution: not for external use.

Link copied to clipboard

Push payload key for notification visibility.

Link copied to clipboard

Current Braze SDK version string.

Link copied to clipboard

Intent action for push story clicks.

Link copied to clipboard

Bundle key for the current push story page index.

Link copied to clipboard

Bundle key for the push story page ID.

Link copied to clipboard

Intent action for push story page traversal.

Link copied to clipboard

Key used to pass a URL to a deeplink WebView.

Link copied to clipboard

The maximum accepted length, in bytes, of an UTF-8 encoded com.braze.models.outgoing.BrazeProperties object. Note that this value is inclusive.

Link copied to clipboard

Whether the device manufacturer is Amazon (for ADM support).

Link copied to clipboard

Indent level for JSON pretty-printing.

Link copied to clipboard

Prefix applied to all Braze log tags.

Link copied to clipboard

Maximum time-to-live in seconds for cached Content Cards before they are considered stale.

Link copied to clipboard
const val TRAFFIC_STATS_THREAD_TAG: Int = 1337

The tag used to identify requests originating from the Braze SDK. See https://developer.android.com/reference/android/net/TrafficStats#setThreadStatsTag(int). According to https://github.com/square/okhttp/issues/3537, there doesn't appear to be any harm in using an arbitrary id here for all Braze threads.

Link copied to clipboard

Directory where in-app message zip files are extracted.

Link copied to clipboard

The maximum accepted length, in bytes, of an UTF-8 encoded user id. Note that this value is inclusive.