AirshipMessageCenter class
Constructors
- AirshipMessageCenter(AirshipModule module)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
→ Future<
List< InboxMessage> > -
Gets the current inbox messages.
no setter
-
onDisplay
→ Stream<
DisplayMessageCenterEvent> -
Gets show inbox event stream. Events will only be
emitted if setAutoLaunchDefaultMessageCenter is disabled.
no setter
-
onInboxUpdated
→ Stream<
MessageCenterUpdatedEvent> -
Gets inbox updated event stream.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unreadMessageCount
→ Future<
int> -
Gets the unread count.
no setter
Methods
-
deleteMessage(
String messageId) → Future< void> -
Deletes an inbox message with the id
messageId
. -
display(
[String? messageId]) → Future< void> - Requests to display the Message Center.
-
markRead(
String messageId) → Future< void> -
Marks an inbox message with the
messageId
as read. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshInbox(
) → Future< bool?> - Forces the inbox to refresh.
-
setAutoLaunchDefaultMessageCenter(
bool enabled) → Future< void> - Enables or disables showing the OOTB UI when requested to display.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited