com.google.android.gms.games.request.Requests.UpdateRequestsResult |
Result delivered when requests are updated. Possible status codes include:
STATUS_OK
if all of the requests
updated successfully.
STATUS_NETWORK_ERROR_OPERATION_FAILED
if
the update operation failed due to network error.
STATUS_REQUEST_UPDATE_PARTIAL_SUCCESS
if
only some of the updates could be successfully applied.
STATUS_REQUEST_UPDATE_TOTAL_FAILURE
if all of the update operations failed with hard errors. Retrying will not change this
result.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Provides the set of all the request IDs that were used for the update.
| |||||||||||
Retrieve the outcome of updating the specified request.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Provides the set of all the request IDs that were used for the update. This set does not preserve the original order in which updates were performed or added to the RequestUpdateOutcomes object.
Returns | |
---|---|
Set<String> |
The set of all the external request IDs that were a part of the update operation. |
Retrieve the outcome of updating the specified request. If the request ID was not part of the original update operation, this will throw an exception.
Parameters | |
---|---|
requestId |
String : The external request ID to lookup. |
Returns | |
---|---|
int |
The outcome of the update for the given request. |