UnusedAppRestrictionsBackportCallback

Added in 1.7.0

class UnusedAppRestrictionsBackportCallback


Wrapper class for {IUnusedAppRestrictionsBackportCallback}. Callback object to return the results from the UnusedAppRestrictionsBackportService APIs.

Summary

Public functions

Unit
onResult(success: Boolean, enabled: Boolean)

This will be called with the results of the isPermissionRevocationEnabled API.

Public functions

onResult

Added in 1.7.0
fun onResult(success: Boolean, enabled: Boolean): Unit

This will be called with the results of the isPermissionRevocationEnabled API.

Parameters
success: Boolean

false if there was an error while checking if the app is enabled, otherwise true.

enabled: Boolean

true if permission revocation is enabled for the app, otherwise false.