InboxMessageManager

Types

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun deleteMessage(@NonNull message: InboxMessage)
abstract fun deleteMessage(@NonNull messageId: String)
Marks a InboxMessage as deleted in local storage.
Link copied to clipboard
abstract fun disableInbox()
This method provides the capability to disable the InboxMessage feature on the current device using the SDK.
Link copied to clipboard
abstract fun enableInbox()
This method provides the capability to disable the InboxMessage feature on the current device using the SDK.
Link copied to clipboard
abstract fun getDeletedMessageCount(): Int
Get the number deleted Inbox Messages regardless of their read status.
Link copied to clipboard
Gets a List of Active, Deleted Inboc Messages for use with your own adapter.
Link copied to clipboard
abstract fun getMessageCount(): Int
Link copied to clipboard
Gets a List of Active, Read &Unread, not Deleted Inbox Messages for use with your own adapter.
Link copied to clipboard
abstract fun getReadMessageCount(): Int
Get the number of read, not deleted Inbox Messages
Link copied to clipboard
Gets a List of Active, Read, not Deleted Inbox Messages for use with your own adapter.
Link copied to clipboard
abstract fun getUnreadMessageCount(): Int
Get the number of unread, not deleted Inbox Messages
Link copied to clipboard
Gets a List of Active, Unread, not Deleted Inbox Messages for use with your own adapter.
Link copied to clipboard
abstract fun isInboxEnabled(): Boolean
Link copied to clipboard
abstract fun markAllMessagesDeleted()
Marks all active InboxMessages as deleted.
Link copied to clipboard
abstract fun markAllMessagesRead()
Marks all active, unread InboxMessages as read.
Link copied to clipboard
Requests an updated list of Inbox Messages from the Marketing Cloud Servers.
Link copied to clipboard
Call this method to be notified of Inbox events within the Marketing Cloud SDK.
Link copied to clipboard
abstract fun setMessageRead(@NonNull message: InboxMessage)
abstract fun setMessageRead(@NonNull messageId: String)
Marks a InboxMessage as read in local storage.