AccountManager.RenameAccount(Account, String, IAccountManagerCallback, Handler) AccountManager.RenameAccount(Account, String, IAccountManagerCallback, Handler) Method

Definition

[Android.Runtime.Register("renameAccount", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/accounts/AccountManagerCallback;Landroid/os/Handler;)Landroid/accounts/AccountManagerFuture;", "GetRenameAccount_Landroid_accounts_Account_Ljava_lang_String_Landroid_accounts_AccountManagerCallback_Landroid_os_Handler_Handler", ApiSince=21)]
[Android.Runtime.RequiresPermission("android.permission.AUTHENTICATE_ACCOUNTS")]
public virtual Android.Accounts.IAccountManagerFuture RenameAccount (Android.Accounts.Account account, string newName, Android.Accounts.IAccountManagerCallback callback, Android.OS.Handler handler);
abstract member RenameAccount : Android.Accounts.Account * string * Android.Accounts.IAccountManagerCallback * Android.OS.Handler -> Android.Accounts.IAccountManagerFuture
override this.RenameAccount : Android.Accounts.Account * string * Android.Accounts.IAccountManagerCallback * Android.OS.Handler -> Android.Accounts.IAccountManagerFuture

Parameters

account
Account Account
newName
String String
handler
Handler Handler

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to