InAppMessage

data class InAppMessage(val id: String?, val layout: InAppLayout, val maxDisplays: Int?, val cooldownSec: Long?, val expireEpochSec: Long?, val rawJson: String)

A parsed native in-app: the layout, optional opt-in frequency caps, and the raw config JSON. The raw JSON is retained so the presenting Activity can be handed the message by value through an Intent extra (re-parsed on the other side), which survives process death and configuration changes.

Constructors

Link copied to clipboard
constructor(id: String?, layout: InAppLayout, maxDisplays: Int?, cooldownSec: Long?, expireEpochSec: Long?, rawJson: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Every image URL the message references, in slide order, including off-screen carousel/stories slides, with null/blank dropped. Used to warm Glide's cache before the view is built (mirrors iOS prefetching message.imageURLs() at enqueue time).