MessageCenter

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(source)

Airship Message Center.

Constructors

Link copied to clipboard
constructor(context: Context, dataStore: PreferenceStore, privacyManager: PrivacyManager, inbox: Inbox, pushManager: PushManager, dispatcher: CoroutineDispatcher, ai: InternalAirshipAi? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Listener for showing the message center. If set, the listener will be called to show the message center instead of the default behavior.

Properties

Link copied to clipboard

Injected rather than reached through Airship: the view layer builds Thomas layouts, and resolving the manager from a layout host waits on takeoff.

Link copied to clipboard

The inbox.

Link copied to clipboard
protected open override val jobActions: List<String>
Link copied to clipboard

The default inbox predicate.

Inherited properties

Link copied to clipboard
Link copied to clipboard
protected val dataStore: PreferenceStore

Functions

Link copied to clipboard

Sets the show message center listener.

Link copied to clipboard
fun showMessageCenter(messageId: String? = null)

Called to show the message center for a specific message.

Inherited functions