Airship Message Center
Private
Readonly
Deletes a message.
The message Id.
A promise. Will reject if the message is not found or if takeOff is not called.
Dismisses the OOTB message center if displayed.
A promise.
Requests to display the Message Center.
Will either emit an event to display the Message Center if auto launch message center is disabled, or display the OOTB message center.
Optional
Optional message Id.
Gets the inbox messages.
A promise with the result.
Gets the unread count.
Marks a message as read.
Refreshes the messages.
A promise. Will reject if the list fails to refresh or if takeOff is not called yet.
Enables or disables showing the OOTB UI when requested to display by either display or by a notification with a Message Center action.
display
true to show OOTB UI, false to emit events.
Overlays the Message Center regardless if auto launch Message Center is enabled or not.
Overlays the message view regardless if auto launch Message Center is enabled or not.
Airship Message Center