Permissions

Class holding sets of common permissions for different SDK features.

Functions

Link copied to clipboard

Builds an Array of the required permissions for accessing audio media, based on the Android version.

Link copied to clipboard

Builds an Array of the required permissions for accessing visual + audio media, based on the Android version.

Link copied to clipboard
fun isPermanentlyDenied(context: Context, grantResults: Map<String, Boolean>): Boolean

Checks if the grantResults indicate that the permissions were permanently denied.

Link copied to clipboard

Builds an Array of the required permissions for accessing visual media, based on the Android version.