public static interface Invitations.LoadInvitationsResult implements Result Releasable
This interface is deprecated.
InvitationBuffer
is returned directly in the InvitationsClient
.
Result delivered when invitations have been loaded. Possible status codes include:
STATUS_OK
if data was successfully loaded and is up-to-date.STATUS_NETWORK_ERROR_NO_DATA
if the device was unable to retrieve any data from the network and has no data cached locally.STATUS_NETWORK_ERROR_STALE_DATA
if the device was unable to retrieve the latest data from the network, but has some data cached locally.STATUS_CLIENT_RECONNECT_REQUIRED
if the client needs to reconnect to the service to access this data.STATUS_INTERNAL_ERROR
if an unexpected error occurred in the service.
Public Method Summary
abstract InvitationBuffer |
Inherited Method Summary
Public Methods
public abstract InvitationBuffer getInvitations ()
Returns
- The invitations that were requested. This is guaranteed to be non-null, though it may be empty. The listener must close this object when finished.