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

getPermission

static fun getPermission(@NonNull context: ImgLyIntent.ResultDelegator, permissions: java.lang.String, @NonNull response: PermissionRequest.Response): void

Request Android Permissions.

Parameters

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

permissions - java.lang.String: The Permission you are need.

response - PermissionRequest.Response: Result callback.

static fun getPermission(@NonNull delegator: ImgLyIntent.ResultDelegator, @NonNull permissions: kotlin.Array<java.lang.String>, @NonNull response: PermissionRequest.Response): void

Request Android Permissions.

Parameters

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

permissions - kotlin.Array<java.lang.String>: The Permissions you are need.

response - PermissionRequest.Response: Result callback.