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