com.urbanairship.permission.PermissionDelegate |
Known Indirect Subclasses |
Permission delegate to extend what permissions the Airship SDK can collect.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
checkPermissionStatus(Context context, Consumer<PermissionStatus> callback)
Checks the current status of the permission.
| ||||||||||
abstract void |
requestPermission(Context context, Consumer<PermissionRequestResult> callback)
Called when the delegate should request permissions.
|
Checks the current status of the permission.
context | The application context. |
---|---|
callback | The callback. |
PermissionStatus
.
Called when the delegate should request permissions.
context | The application context. |
---|---|
callback | The callback. |