public final class

AccountTransfer

extends Object
java.lang.Object
   ↳ com.google.android.gms.auth.api.accounttransfer.AccountTransfer

Class Overview

Main entry point for AccountTransfer API's.

Summary

Constants
String ACTION_ACCOUNT_EXPORT_DATA_AVAILABLE Broadcast sent to the packages which own the accounts on device to notify availability of export transfer data.
String ACTION_ACCOUNT_IMPORT_DATA_AVAILABLE Broadcast sent to the packages which own the accounts on device to notify availability of import transfer data.
String ACTION_START_ACCOUNT_EXPORT Broadcast sent to the packages which own the accounts on device to notify starting of account export.
Public Methods
static AccountTransferClient getAccountTransferClient(Context context)
Creates a new instance of AccountTransferClient for use in a non-activity Context.
static AccountTransferClient getAccountTransferClient(Activity activity)
Creates a new instance of AccountTransferClient for use in an Activity.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ACTION_ACCOUNT_EXPORT_DATA_AVAILABLE

Broadcast sent to the packages which own the accounts on device to notify availability of export transfer data.

Constant Value: "com.google.android.gms.auth.ACCOUNT_EXPORT_DATA_AVAILABLE"

public static final String ACTION_ACCOUNT_IMPORT_DATA_AVAILABLE

Broadcast sent to the packages which own the accounts on device to notify availability of import transfer data.

Constant Value: "com.google.android.gms.auth.ACCOUNT_IMPORT_DATA_AVAILABLE"

public static final String ACTION_START_ACCOUNT_EXPORT

Broadcast sent to the packages which own the accounts on device to notify starting of account export. This broadcast is only sent once on the source (exporting) device.

Constant Value: "com.google.android.gms.auth.START_ACCOUNT_EXPORT"

Public Methods

public static AccountTransferClient getAccountTransferClient (Context context)

Creates a new instance of AccountTransferClient for use in a non-activity Context.

Parameters
context Context
Returns
AccountTransferClient

public static AccountTransferClient getAccountTransferClient (Activity activity)

Creates a new instance of AccountTransferClient for use in an Activity.

Parameters
activity Activity
Returns
AccountTransferClient