| com.google.android.gms.plus.Account |
This interface is deprecated.
replaced by GoogleSignInApi. See
Google Sign-In
for guidance on integrating with this API.
The main entry point for Google+ account management. To use these features, you should add the
API to your GoogleApiClient.Builder.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
replaced with
signOut(GoogleApiClient)
| |||||||||||
This method is deprecated.
Use
GoogleSignInApi and
getSignInAccount() and
you can get the account name via
getEmail().
| |||||||||||
This method is deprecated.
replaced with
revokeAccess(GoogleApiClient)
| |||||||||||
This method is deprecated.
replaced with
signOut(GoogleApiClient)
Removes the default account set in Google Play services for your app.
Subsequent calls to connect() will return a resolution intent
that will let the user select a different account.
revokeAccessAndDisconnect(GoogleApiClient).
Required API: API
| googleApiClient | The connected GoogleApiClient to service the call. |
|---|
This method is deprecated.
Use GoogleSignInApi and
getSignInAccount() and
you can get the account name via
getEmail().
Gets the account name resolved by Google Play services. The permission
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
must be declared in your AndroidManifest.xml to use this method.
Required API: API
| googleApiClient | The connected GoogleApiClient to service the call. |
|---|
| SecurityException | If your app doesn't have the
GET_ACCOUNTS permission. |
|---|
This method is deprecated.
replaced with
revokeAccess(GoogleApiClient)
Revokes access given to the current application.
Required API: API
| googleApiClient | The connected GoogleApiClient to service the call. |
|---|