Package-level declarations

Types

Link copied to clipboard
class Inbox

The inbox provides access to the device's local inbox data. Modifications (e.g., deletions or mark read) will be sent to the Airship server the next time the inbox is synchronized.

Link copied to clipboard
fun interface InboxListener

Inbox listener.

Link copied to clipboard
class Message @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val id: String, val title: String, val bodyUrl: String, val sentDate: Instant, val expirationDate: Instant?, val isUnread: Boolean, val extras: Map<String, String?>?, val contentType: Message.ContentType, messageUrl: String, reporting: JsonValue?, rawMessageJson: JsonValue, isUnreadClient: Boolean = isUnread, isDeletedClient: Boolean, associatedData: Message.AssociatedData? = null) : Parcelable

Message Center Message data.

Link copied to clipboard
class MessageCenter @VisibleForTesting @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(context: Context, dataStore: PreferenceStore, privacyManager: PrivacyManager, val inbox: Inbox, pushManager: PushManager, dispatcher: CoroutineDispatcher, val ai: InternalAirshipAi? = null) : JobAwareAirshipComponent

Airship Message Center.

Link copied to clipboard
class PersistentLayoutDataStorage(onSave: suspend (Message.AssociatedData.ViewState?) -> Unit, onFetch: suspend () -> Message.AssociatedData.ViewState?, dispatcher: CoroutineDispatcher = AirshipDispatchers.newSerialDispatcher()) : LayoutDataStorage

Inherited properties

Link copied to clipboard

Provides access to the MessageCenter module features via the main Airship singleton.