Summary: Methods | [Expand All]
public interface

# ResultCallback

com.google.android.gms.common.api.ResultCallback<R extends com.google.android.gms.common.api.Result>

Known Indirect Subclasses ResolvingResultCallbacks<R extends Result>, ResultCallbacks<R extends Result>
ResolvingResultCallbacks<R extends Result> | `ResultCallbacks` which automatically start resolutions for failures.
ResultCallbacks<R extends Result> | Callbacks for receiving a `Result` from a `PendingResult` as an asynchronous callback.

## Class Overview

An interface for receiving a `Result` from a `PendingResult` as an asynchronous callback.

See also `ResultCallbacks` and `ResolvingResultCallbacks`.

## Summary

Public Methods
abstract void | onResult(R result) Called when the `Result` is ready.

## Public Methods

#### public abstract void onResult (R result)

Called when the `Result` is ready.

It is the responsibility of the callback to release any resources associated with the result. Some result types may implement `Releasable`, in which case `release()` should be used to free the associated resources.

This method is called on the main thread, unless overridden by `setHandler(Handler)`.

##### Parameters

result | The result from the API call. Never null.