com.google.android.gms.games.multiplayer.turnbased.OnTurnBasedMatchLoadedListener |
This interface is deprecated.
See TurnBasedMultiplayer.LoadMatchResult
.
Listener for receiving callbacks when a match has been loaded.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when a turn-based match has been loaded.
|
Called when a turn-based match has 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_MATCH_NOT_FOUND
if the requested match does not exist on the
server.STATUS_CLIENT_RECONNECT_REQUIRED
if the GamesClient
needs to
reconnect to the service to perform this operation.STATUS_INTERNAL_ERROR
if an unexpected error occurred in the service.
statusCode | A status code indicating the result of the operation. |
---|---|
match | The requested TurnBasedMatch object. Note that this may be null,
depending on the status code returned.
|