Api
public final class Api<O extends Api.ApiOptions>
Describes a section of the Google Play Services API that should be made available. Instances of this should be passed into addApi to enable the appropriate parts of Google Play Services.
See com.google.android.gms.common.api.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 or interfaces that implement .
| Parameters | |
|---|---|
<O extends Api.ApiOptions> |
Type of corresponding options class. |
Summary
Nested types |
|---|
public interface Api.ApiOptionsBase interface for API options. |
public interface Api.ApiOptions.HasAccountOptions extends Api.ApiOptions.HasOptions, Api.ApiOptions.NotRequiredOptionsAn interface for |
public interface Api.ApiOptions.HasGoogleSignInAccountOptions extends Api.ApiOptions.HasOptionsAn interface for |
public interface Api.ApiOptions.HasOptions extends Api.ApiOptionsBase interface for |
public final class Api.ApiOptions.NoOptions implements Api.ApiOptions.NotRequiredOptions
|
public interface Api.ApiOptions.NotRequiredOptions extends Api.ApiOptionsBase interface for |
public interface Api.ApiOptions.Optional extends Api.ApiOptions.HasOptions, Api.ApiOptions.NotRequiredOptionsBase interface for |