Describes a section of the Google Play Services API that should be made available.
Instances of this should be passed into
GoogleApiClient.Builder.addApi(Api extends Api.ApiOptions.NotRequiredOptions>
)
to enable the appropriate parts of Google Play Services.
See GoogleApiClient.Builder
for usage examples.
Code that references static, final Api
instances for calling Google Play
services APIs should generally be migrated to use the equivalent client which subclasses
GoogleApi
or
interfaces that implement HasApiKey
.
Nested Class Summary
interface | Api.ApiOptions | Base interface for API options. |