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

hasAllPermission

static fun hasAllPermission(@NonNull context: Context, @NonNull permissions: kotlin.Array<java.lang.String>): boolean

Check if the user has granted the permissions.

Parameters

context - Context: a Android context

permissions - kotlin.Array<java.lang.String>: The Permission you are need to check.

Return
boolean: true if all permissions are granted or false if any permission is missing