# com.google.android.gms.common.api

# com.google.android.gms.common.api

## Interfaces

|---|---|
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions` | Base interface for API options. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions.HasAccountOptions` | An interface for `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions` that include an account. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions.HasGoogleSignInAccountOptions` | An interface for `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions` that includes a `https://developers.google.com/android/reference/com/google/android/gms/auth/api/signin/GoogleSignInAccount` |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions.HasOptions` | Base interface for `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions` in `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api`s that have options. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions.NotRequiredOptions` | Base interface for `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions` that are not required, don't exist. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions.Optional` | Base interface for `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions` that are optional. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks` | **This interface is deprecated.** use `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi` based APIs instead. see[moving past googleapiclient](https://android-developers.googleblog.com/2017/11/moving-past-googleapiclient_21.html). <br /> |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener` | **This interface is deprecated.** use `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi` based apis instead. see[moving past googleapiclient](https://android-developers.googleblog.com/2017/11/moving-past-googleapiclient_21.html). api implementors should use the stand-alone instead. <br /> |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/HasApiKey` | Anything that has an `ApiKey`. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/OptionalModuleApi` | An API that requires an optional module. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Releasable` | Represents a resource, or a holder of resources, which may be released once they are no longer needed. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Result` | Represents the final result of invoking an API method in Google Play services. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/ResultCallback` | An interface for receiving a `https://developers.google.com/android/reference/com/google/android/gms/common/api/Result` from a as an asynchronous callback. |

## Classes

|---|---|
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api` | Describes a section of the Google Play Services API that should be made available. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions.NoOptions` | `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api.ApiOptions` implementation for `https://developers.google.com/android/reference/com/google/android/gms/common/api/Api`s that do not take any options. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Batch` | Handles a batch of `https://developers.google.com/android/reference/com/google/android/gms/common/api/PendingResult` items. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Batch.Builder` | Builder for `https://developers.google.com/android/reference/com/google/android/gms/common/api/Batch` objects. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/BatchResult` | The result of a batch operation. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/BatchResultToken` | Result token used to retrieve the result of individual operations from a batch. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/BooleanResult` | A `https://developers.google.com/android/reference/com/google/android/gms/common/api/Result` with a boolean value. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/CommonStatusCodes` | Common status codes that are often shared across API surfaces. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi` | Base class for Google API entry points. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApiActivity` | Helper activity used by Google Play services APIs to display resolutions for connection errors. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApiClient` | **This class is deprecated.** Use `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi` based APIs instead. <br /> |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApiClient.Builder` | **This class is deprecated.** Use `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi` based APIs instead. <br /> |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/OptionalPendingResult` | Each `OptionalPendingResult` is a `https://developers.google.com/android/reference/com/google/android/gms/common/api/PendingResult` with additional support for non-blocking accessors. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/PendingResult` | Represents a pending result from calling an API method in Google Play services. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/PendingResults` | Provides factory methods for `https://developers.google.com/android/reference/com/google/android/gms/common/api/PendingResult` instances, primarily for use in tests. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/ResolvingResultCallbacks` | `https://developers.google.com/android/reference/com/google/android/gms/common/api/ResultCallbacks` which automatically start resolutions for failures. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Response` | Represents the successful result of invoking an API method in Google Play services using a subclass of GoogleApi. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/ResultCallbacks` | Callbacks for receiving a `https://developers.google.com/android/reference/com/google/android/gms/common/api/Result` from a as an asynchronous callback. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/ResultTransform` | Transforms a `https://developers.google.com/android/reference/com/google/android/gms/common/api/Result` by making a subsequent API call. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Scope` | Describes an OAuth 2.0 scope to request. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/Status` | Represents the results of work. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/TransformedResult` | Represents a pending result that has been transformed by one or more subsequent API calls. |

## Exceptions

|---|---|
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/ApiException` | Exception to be returned by a Task when a call to Google Play services has failed. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/AvailabilityException` | Contains the result of an availability check for one or more `https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi`s. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/ResolvableApiException` | Exception to be returned by a Task when a call to Google Play services has failed with a possible resolution. |
| `https://developers.google.com/android/reference/com/google/android/gms/common/api/UnsupportedApiCallException` | Exception that's thrown when an API call is not supported by the Google Play services package. |