InAppLayout

sealed class InAppLayout

Typed native in-app message model. Mirrors the iOS PWInAppLayout enum: a layout discriminator carrying a dedicated content type, so adding a template is one new InAppLayout subclass plus one new view — no untyped map access leaks into the UI.

Video and picture-in-picture templates from iOS are intentionally out of scope for this iteration.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data class Banner(val content: BannerContent) : InAppLayout
Link copied to clipboard
data class Carousel(val content: CarouselContent) : InAppLayout
Link copied to clipboard
data class Fullscreen(val content: FullscreenContent) : InAppLayout
Link copied to clipboard
data class Modal(val content: ModalContent) : InAppLayout
Link copied to clipboard
data class Stories(val content: StoriesContent) : InAppLayout