Api | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Nested Classes | Inherited Methods | [Expand All]
public final class

# Api

extends Object

java.lang.Object
↳ | com.google.android.gms.common.api.Api<O extends com.google.android.gms.common.api.Api.ApiOptions>

## Class Overview

Describes a section of the Google Play Services API that should be made available. Instances of this should be passed into `addApi(Api)` to enable the appropriate parts of Google Play Services.

Google APIs are partitioned into sections which allow your application to configure only the services it requires. Each Google API provides an API object which can be passed to `addApi(Api)` in order to configure and enable that functionality in your `GoogleApiClient` instance.

See `GoogleApiClient.Builder` for usage examples.

##### See Also

- `API`

## Summary

Nested Classes
interface | Api.ApiOptions | Base interface for API options.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)