Package-level declarations

Types

Link copied to clipboard
data class BrazeNetworkFailureEvent(brazeRequest: IBrazeRequest, httpConnectorResult: IHttpConnector.HttpConnectorResult)

A transparent and strictly informational look into the network stack used by the SDK. Since the SDK uses its own request retry strategies, it is not advised to retry a given request after an failure here unless advised by Braze support.

Link copied to clipboard
data class BrazePushEvent(val eventType: BrazePushEventType, val notificationPayload: BrazeNotificationPayload)
Link copied to clipboard
data class BrazeSdkAuthenticationErrorEvent(sdkAuthError: SdkAuthError)
Link copied to clipboard
class ContentCardsUpdatedEvent(contentCards: List<Card>, val userId: String?, val timestampSeconds: Long, val isFromOfflineStorage: Boolean)
Link copied to clipboard
class FeatureFlagsUpdatedEvent(val featureFlags: List<FeatureFlag>)
Link copied to clipboard
When Braze receives a new message feed in a server response, this event is fired.
Link copied to clipboard
fun interface IEventSubscriber<T>
Link copied to clipboard

An IEventSubscriber subscriber where updates are guaranteed to fire only once and afterwards this subscriber will be removed, similarly to calling com.braze.IBraze.removeSingleSubscription directly after being invoked.

Link copied to clipboard
data class InAppMessageEvent(val triggerEvent: ITriggerEvent, val triggerAction: ITriggeredAction, val inAppMessage: IInAppMessage, val userId: String?)

When Braze receives a new in-app message in a server response, this event is fired. The message itself is provided along with the id of the user that the message is for (or null if no user id was set).

Link copied to clipboard
fun interface IValueCallback<T>
Link copied to clipboard
data class NoMatchingTriggerEvent(val sourceEventType: String)

Fired when no In-App Message was triggered by an event.

Link copied to clipboard

Event fired when SDK data has been wiped and external caches of messages (such as Content Cards, In-App Messages, etc.) should be cleared.

Link copied to clipboard
data class SessionStateChangedEvent(val sessionId: String, val eventType: SessionStateChangedEvent.ChangeType)
Link copied to clipboard

A convenience class to extend when you only want to listen for a subset of all the value callback methods. This implements all methods in IValueCallback but does nothing for all applicable methods.