loadCachedMessages
Get the collection of the com.pushwoosh.inbox.data.InboxMessage that the user received. This method obtains messages synchronously from local database
Parameters
- This parameter provides pagination. Pass the last com.pushwoosh.inbox.data.InboxMessage that is on your current page as a parameter to get previous messages.To get the latest messages or in case the pagination is not necessary, pass null as a parameter.
- amount of messages to get. Pass -1 to get all the messages
Get the collection of the com.pushwoosh.inbox.data.InboxMessage that the user received. This method obtains messages asynchronously from local database
Parameters
- if successful, return the collection of the InboxMessages. Otherwise, return error
- This parameter provides pagination. Pass the last com.pushwoosh.inbox.data.InboxMessage that is on your current page as a parameter to get previous messages.To get the latest messages or in case the pagination is not necessary, pass null as a parameter.
- amount of messages to get. Pass -1 to get all the messages