com.google.android.gms.games.request.Requests.LoadRequestsResult |
Result delivered when requests have 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 Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves any loaded requests of the specified type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Retrieves any loaded requests of the specified type. Note that if requestType
was not
specified in the corresponding call to loadRequests(GoogleApiClient, int, int, int)
}, this method will return null
.
Parameters | |
---|---|
requestType |
int : The type of GameRequest objects to retrieve. |
Returns | |
---|---|
GameRequestBuffer |
Any requests which have the specified request type, or null if the type was not requested when loading. |