public static interface

Requests.UpdateRequestsResult

implements Releasable Result
com.google.android.gms.games.request.Requests.UpdateRequestsResult

Class Overview

Result delivered when requests are updated. Possible status codes include:

Summary

Public Methods
abstract Set<String> getRequestIds()
Provides the set of all the request IDs that were used for the update.
abstract int getRequestOutcome(String requestId)
Retrieve the outcome of updating the specified request.
[Expand]
Inherited Methods
From interface com.google.android.gms.common.api.Releasable
From interface com.google.android.gms.common.api.Result

Public Methods

public abstract Set<String> getRequestIds ()

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
  • The set of all the external request IDs that were a part of the update operation.

public abstract int getRequestOutcome (String requestId)

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 The external request ID to lookup.
Returns
  • The outcome of the update for the given request.