class PermissionRequest
interface Response
Callback Interface |
static fun getPermission(context: ImgLyIntent.ResultDelegator, permissions: java.lang.String, response: PermissionRequest.Response): void static fun getPermission(delegator: ImgLyIntent.ResultDelegator, permissions: kotlin.Array<java.lang.String>, response: PermissionRequest.Response): void
Request Android Permissions. |
|
static fun hasAllPermission(context: Context, permissions: kotlin.Array<java.lang.String>): boolean
Check if the user has granted the permissions. |
|
static fun onRequestPermissionsResult(requestCode: int, permissions: kotlin.Array<java.lang.String>, grantResults: kotlin.Array<int>): void
Must bee called by Activity.onRequestPermissionsResult |
NEEDED_EDITOR_PERMISSIONS
Permissions needed for the Editor Activity |
|
NEEDED_PREVIEW_PERMISSIONS
Permissions needed for the Preview Activity |
|
NEEDED_PREVIEW_PERMISSIONS_AND_COARSE_LOCATION
Permissions needed for the Preview Activity + ACCESS_COARSE_LOCATION |
|
NEEDED_PREVIEW_PERMISSIONS_AND_FINE_LOCATION
Permissions needed for the Preview Activity + ACCESS_FINE_LOCATION |