ly.img.android.pesdk.ui.utils / PermissionRequest / getPermission

getPermission

open static fun getPermission(context: ImgLyIntent.ResultDelegator!, permissions: String!, response: PermissionRequest.Response!): Unit

Request Android Permissions.

Parameters

context - ImgLyIntent.ResultDelegator!: The Context of the Activity or the Fragment.

permissions - String!: The Permission you are need.

response - PermissionRequest.Response!: Result callback.

open static fun getPermission(delegator: ImgLyIntent.ResultDelegator!, permissions: Array<String!>!, response: PermissionRequest.Response!): Unit

Request Android Permissions.

Parameters

delegator - ImgLyIntent.ResultDelegator!: A ResultDelegator of a Activity or a Fragment.

permissions - Array<String!>!: The Permissions you are need.

response - PermissionRequest.Response!: Result callback.