fetchMessages
Fetches the latest inbox changes from Airship.
Normally this method is not called directly as the message list is automatically fetched when the application foregrounds or when a notification with an associated message is received.
If the fetch request completes and results in a change to the messages, onInboxUpdated will be called.
Fetches the latest inbox changes from Airship.
Normally this method is not called directly as the message list is automatically fetched when the application foregrounds or when a notification with an associated message is received.
If the fetch request completes and results in a change to the messages, onInboxUpdated will be called.
Return
A cancelable object that can be used to cancel the callback.
Parameters
Callback to be notified when the request finishes fetching the messages.
Fetches the latest inbox changes from Airship.
Normally this method is not called directly as the message list is automatically fetched when the application foregrounds or when a notification with an associated message is received.
If the fetch request completes and results in a change to the messages, onInboxUpdated will be called.
Return
A cancelable object that can be used to cancel the callback.
Parameters
Callback to be notified when the request finishes fetching the messages.
The looper to post the callback on.