Added in API level 28
DevicePolicyManager.OnClearApplicationUserDataListener
public
static
interface
DevicePolicyManager.OnClearApplicationUserDataListener
android.app.admin.DevicePolicyManager.OnClearApplicationUserDataListener |
Callback used in DevicePolicyManager.clearApplicationUserData(ComponentName, String, Executor, OnClearApplicationUserDataListener)
to indicate that the clearing of an application's user data is done.
Summary
Public methods | |
---|---|
abstract
void
|
onApplicationUserDataCleared(String packageName, boolean succeeded)
Method invoked when clearing the application user data has completed. |
Public methods
onApplicationUserDataCleared
Added in API level 28
public abstract void onApplicationUserDataCleared (String packageName, boolean succeeded)
Method invoked when clearing the application user data has completed.
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. |