Package-level declarations

Entry point and visual configuration for the inbox UI.

PushwooshInboxUi is the main entry point: it creates the inbox Fragment and lets you register an OnInboxMessageClickListener that is called whenever the user taps a message.

PushwooshInboxStyle is a global style object that controls every visual aspect of the inbox list — colors, fonts, text sizes, item animation, empty-state and error-state images, toolbar visibility, and the date formatter — before the Fragment is shown.

OnInboxMessageClickListener is a single-method interface you implement to receive a callback with the tapped InboxMessage when the user selects an item in the list.

Types

Link copied to clipboard
class InboxCardButton(val title: String, val action: InboxCardButton.Action)

An inline CTA button rendered inside a rich inbox card, mirroring the iOS PushwooshInboxButton contract. Buttons arrive from the server inside actionParams["buttons"] (at the root, inside u as a dict, or inside u as a JSON-encoded string) and are decoded by decode.

Link copied to clipboard
class InboxCarouselSlide(val imageUrl: String, val title: String?, val url: String?)

A single slide inside a carousel inbox card, mirroring the iOS PushwooshInboxCarouselSlide contract.

Link copied to clipboard
class InboxVideoContent(val videoUrl: String, val posterUrl: String?)

Video payload of a video inbox card, mirroring the iOS PushwooshInboxVideoContent contract.

Link copied to clipboard
Host-side hook for taps on inline CTA buttons rendered inside rich inbox cards.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard