AirshipMessageCenter class

Constructors

AirshipMessageCenter(AirshipModule module)

Properties

hashCode → int
The hash code for this object.
no setterinherited
messages → Future<List<InboxMessage>>
Retrieves the current list of inbox messages.
no setter
onDisplay → Stream<DisplayMessageCenterEvent>
Provides a stream of events for when the Message Center should be displayed.
no setter
onInboxUpdated → Stream<MessageCenterUpdatedEvent>
Provides a stream of events for when the inbox is updated.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unreadMessageCount → Future<int>
Retrieves the count of unread messages in the inbox.
no setter

Methods

deleteMessage(String messageId) → Future<void>
Deletes a specific inbox message.
display([String? messageId]) → Future<void>
Requests to display the Message Center UI.
markRead(String messageId) → Future<void>
Marks a specific inbox message as read.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshInbox() → Future<bool?>
Forces a refresh of the inbox messages.
setAutoLaunchDefaultMessageCenter(bool enabled) → Future<void>
Configures whether the default Message Center UI should automatically launch when requested.
showMessageCenter([String? messageId]) → Future<void>
Displays the Message Center UI, overriding the auto-launch setting.
showMessageView(String messageId) → Future<void>
Displays a specific message view, overriding the auto-launch setting.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited