Android.Accounts.AbstractAccountAuthenticator.GetAccountCredentialsForCloning Method
Returns a Bundle that contains whatever is required to clone the account on a different user.

Syntax

[Android.Runtime.Register("getAccountCredentialsForCloning", "(Landroid/accounts/AccountAuthenticatorResponse;Landroid/accounts/Account;)Landroid/os/Bundle;", "GetGetAccountCredentialsForCloning_Landroid_accounts_AccountAuthenticatorResponse_Landroid_accounts_Account_Handler")]
public virtual Android.OS.Bundle GetAccountCredentialsForCloning (AccountAuthenticatorResponse response, Account account)

Parameters

response
to send the result back to the AccountManager, will never be null
account
the account to clone, will never be null

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:NetworkErrorException
Android.Accounts.NetworkErrorException

Remarks

Returns a Bundle that contains whatever is required to clone the account on a different user. The Bundle is passed to the authenticator instance in the target user via AbstractAccountAuthenticator.AddAccountFromCredentials(AccountAuthenticatorResponse, Android.Accounts.Account, Android.Accounts.Account). The default implementation returns null, indicating that cloning is not supported.

[Android Documentation]

Requirements

Namespace: Android.Accounts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18