PushwooshInbox

open class PushwooshInbox

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun deleteMessage(code: String)
Call this method, when the user deletes the com.pushwoosh.inbox.data.InboxMessage manually
Link copied to clipboard
open fun deleteMessages(codes: Collection<String>)
Call this method, when the user deletes the list of com.pushwoosh.inbox.data.InboxMessage manually
Link copied to clipboard
open fun loadCachedMessages(inboxMessage: InboxMessage, limit: Int): Collection<InboxMessage>
open fun loadCachedMessages(callback: Callback<Collection<InboxMessage>, InboxMessagesException>, inboxMessage: InboxMessage, limit: Int)
Get the collection of the com.pushwoosh.inbox.data.InboxMessage that the user received.
Link copied to clipboard
open fun loadMessages(callback: Callback<Collection<InboxMessage>, InboxMessagesException>)
open fun loadMessages(callback: Callback<Collection<InboxMessage>, InboxMessagesException>, inboxMessage: InboxMessage, limit: Int)
Get the collection of the com.pushwoosh.inbox.data.InboxMessage that the user received This method obtains messages from network.
Link copied to clipboard
open fun messagesCount(callback: Callback<Integer, InboxMessagesException>)
Get the total number of the com.pushwoosh.inbox.data.InboxMessage
Link copied to clipboard
open fun messagesWithNoActionPerformedCount(callback: Callback<Integer, InboxMessagesException>)
Get the number of the com.pushwoosh.inbox.data.InboxMessage with no action performed
Link copied to clipboard
open fun performAction(code: String)
Call this method, when the user clicks on the com.pushwoosh.inbox.data.InboxMessage and the message's action is performed
Link copied to clipboard
open fun readMessage(code: String)
Call this method, when the user reads the com.pushwoosh.inbox.data.InboxMessage
Link copied to clipboard
open fun readMessages(codes: Collection<String>)
Call this method, when the user reads list of InboxMessage
Link copied to clipboard
open fun registerMessagesCountObserver(callback: Callback<Integer, InboxMessagesException>)
Register the observer to get the total number of the com.pushwoosh.inbox.data.InboxMessage
open fun registerMessagesWithNoActionPerformedCountObserver(callback: Callback<Integer, InboxMessagesException>)
Register the observer to get updates of the number of the com.pushwoosh.inbox.data.InboxMessage with no action performed
Link copied to clipboard
open fun registerUnreadMessagesCountObserver(callback: Callback<Integer, InboxMessagesException>)
Register the observer to get the number of the unread com.pushwoosh.inbox.data.InboxMessage
Link copied to clipboard
open fun unreadMessagesCount(callback: Callback<Integer, InboxMessagesException>)
Get the number of the unread com.pushwoosh.inbox.data.InboxMessage
Link copied to clipboard
open fun unregisterMessagesCountObserver(callback: Callback<Integer, InboxMessagesException>)
Unregister the observer of the total number of the com.pushwoosh.inbox.data.InboxMessage
open fun unregisterMessagesWithNoActionPerformedCountObserver(callback: Callback<Integer, InboxMessagesException>)
Unregister the observer of the number of the com.pushwoosh.inbox.data.InboxMessage with no action performed
Link copied to clipboard
open fun unregisterUnreadMessagesCountObserver(callback: Callback<Integer, InboxMessagesException>)
Unregister the observer of the unread com.pushwoosh.inbox.data.InboxMessage