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

hasAllPermission

open static fun hasAllPermission(context: Context!, permissions: Array<String!>!): Boolean

Check if the user has granted the permissions.

Parameters

context - Context!: a Android context

permissions - Array<String!>!: The Permission you are need to check.

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