AccountManager.RemoveAccountExplicitly(Account) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an account directly.
[Android.Runtime.Register("removeAccountExplicitly", "(Landroid/accounts/Account;)Z", "GetRemoveAccountExplicitly_Landroid_accounts_Account_Handler", ApiSince=22)]
[Android.Runtime.RequiresPermission("android.permission.AUTHENTICATE_ACCOUNTS")]
public virtual bool RemoveAccountExplicitly (Android.Accounts.Account? account);
[<Android.Runtime.Register("removeAccountExplicitly", "(Landroid/accounts/Account;)Z", "GetRemoveAccountExplicitly_Landroid_accounts_Account_Handler", ApiSince=22)>]
[<Android.Runtime.RequiresPermission("android.permission.AUTHENTICATE_ACCOUNTS")>]
abstract member RemoveAccountExplicitly : Android.Accounts.Account -> bool
override this.RemoveAccountExplicitly : Android.Accounts.Account -> bool
Parameters
- account
- Account
The Account to delete.
Returns
True if the account was successfully deleted, false if the account did not exist, the account is null, or another error occurs.
- Attributes
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.