BatchInAppMessage

A subclass of BatchMessage that represents an In-App message

Constructors

Link copied to clipboard
constructor(@Nullable campaignToken: String, @NonNull campaignID: String, @NonNull eventData: JSONObject, @NonNull landingPayload: JSONObject, @NonNull customPayload: JSONObject)

Types

Link copied to clipboard
interface Content
Interface defining a BatchInAppMessage content model object.

Properties

Link copied to clipboard
Link copied to clipboard
@get:NonNull
val customPayload: JSONObject
Link copied to clipboard
val KIND: String = "inapp_campaign"
Link copied to clipboard
val MESSAGING_EXTRA_PAYLOAD_KEY: String = "com.batch.messaging.payload"
Key to retrieve the messaging payload (if applicable) from an extra

Functions

Link copied to clipboard
Get an In-App Message's visual contents.
Link copied to clipboard
Link copied to clipboard
open fun writeToBundle(@NonNull bundle: Bundle)
Link copied to clipboard
open fun writeToIntent(@NonNull intent: Intent)