|
Known Direct Subclasses
ResolvingResultCallbacks<R extends Result>
|
Callbacks for receiving a Result from a
PendingResult
as an asynchronous callback. Contains separate callbacks for success and failure.
These methods are called on the main thread, unless overridden by
GoogleApiClient.Builder.setHandler(Handler).
| abstract void | |
| abstract void |
Called when the Result is
ready and a failure occurred.
| result | Status resulting from the API call. Guaranteed to be non-null and unsuccessful. |
|---|
Called when the Result is
ready and was successful.
It is the responsibility of the callback to release any resources associated with
the result if
onSuccess(R) is called. Some result types may implement Releasable,
in which case Releasable.release()
should be used to free the associated resources. If a failure occurs the result will be
released automatically.
| result | The result from the API call. Never null. |
|---|