KeyChain.RemoveCredentialManagementApp(Context) 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.
Called by the credential management app CredentialManagementApp
to unregister as
the credential management app and stop managing the user's credentials.
[Android.Runtime.Register("removeCredentialManagementApp", "(Landroid/content/Context;)Z", "", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_CREDENTIAL_MANAGEMENT_APP")]
public static bool RemoveCredentialManagementApp (Android.Content.Context context);
[<Android.Runtime.Register("removeCredentialManagementApp", "(Landroid/content/Context;)Z", "", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_CREDENTIAL_MANAGEMENT_APP")>]
static member RemoveCredentialManagementApp : Android.Content.Context -> bool
Parameters
- context
- Context
Returns
true
if the credential management app was successfully removed.
- Attributes
Remarks
Called by the credential management app CredentialManagementApp
to unregister as the credential management app and stop managing the user's credentials.
All credentials previously installed by the credential management app will be removed from the user's device.
An app holding MANAGE_CREDENTIAL_MANAGEMENT_APP
permission can also call this method to remove the current credential management app, even if it's not the current credential management app itself.
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.