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.
Functions
Subscribe a listener for inbox update event callbacks.
Mark all Messages deleted.
Mark Messages deleted.
Suspending function to fetch the latest inbox changes from Airship.
Fetches the latest inbox changes from Airship.
A PendingResult of the total message count.
Get the Message with the corresponding message ID.
Get the Message with the corresponding message body URL.
Get the Message with the corresponding message body URL as a PendingResult.
All the message IDs in the Inbox.
A PendingResult of all the message IDs in the Inbox.
Get the Message with the corresponding message ID as a PendingResult.
Gets a list of RichPushMessages, filtered by the provided predicate, and sorted by descending sent-at date.
Subscribes to the list of messages as a flow. The flow will emit the current list of messages, filtered by the provided predicate, and sorted by descending sent-at date, and will emit new lists whenever the inbox is updated.
Gets a list of RichPushMessages as a PendingResult, filtered by the provided predicate, and sorted by descending sent-at date.
The number of read messages currently in the Inbox.
A PendingResult of the read message count.
Gets a list of read RichPushMessages, filtered by the provided predicate. Sorted by descending sent-at date.
Gets a list of read RichPushMessages as a PendingResult, filtered by the provided predicate, and sorted by descending sent-at date.
The number of unread messages currently in the Inbox.
A PendingResult of the unread message count.
Gets a list of unread RichPushMessages, filtered by the provided predicate, and sorted by descending sent-at date.
Subscribes to the list of unread messages as a flow. The flow will emit the current list of unread messages, filtered by the provided predicate, and sorted by descending sent-at date, and will emit new lists whenever the inbox is updated.
Gets a list of unread RichPushMessages as a PendingResult, filtered by the provided predicate, and sorted by descending sent-at date.
Mark Messages read in bulk.
Mark Messages unread in bulk.
Unsubscribe a listener for inbox update event callbacks.