UnusedAppRestrictionsBackportCallback
public class UnusedAppRestrictionsBackportCallback
Wrapper class for {IUnusedAppRestrictionsBackportCallback}. Callback object to return the results from the UnusedAppRestrictionsBackportService APIs.
Summary
Public methods |
|
|---|---|
void |
onResult(boolean success, boolean enabled)This will be called with the results of the |
Public methods
onResult
Added in 1.7.0
public void onResult(boolean success, boolean enabled)
This will be called with the results of the isPermissionRevocationEnabled API.
| Parameters | |
|---|---|
boolean success |
false if there was an error while checking if the app is enabled, otherwise true. |
boolean enabled |
true if permission revocation is enabled for the app, otherwise false. |
| Throws | |
|---|---|
android.os.RemoteException |