DevicePolicyManager.IOnClearApplicationUserDataListener.OnApplicationUserDataCleared 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.
Method invoked when clearing the application user data has completed.
[Android.Runtime.Register("onApplicationUserDataCleared", "(Ljava/lang/String;Z)V", "GetOnApplicationUserDataCleared_Ljava_lang_String_ZHandler:Android.App.Admin.DevicePolicyManager/IOnClearApplicationUserDataListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public void OnApplicationUserDataCleared (string? packageName, bool succeeded);
[<Android.Runtime.Register("onApplicationUserDataCleared", "(Ljava/lang/String;Z)V", "GetOnApplicationUserDataCleared_Ljava_lang_String_ZHandler:Android.App.Admin.DevicePolicyManager/IOnClearApplicationUserDataListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member OnApplicationUserDataCleared : string * bool -> unit
Parameters
- packageName
- String
The name of the package which had its user data cleared.
- succeeded
- Boolean
Whether the clearing succeeded. Clearing fails for device administrator apps and protected system packages.
- Attributes
Remarks
Method invoked when clearing the application user data has completed.
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.