# PermissionFunction

class PermissionFunction
Content copied to clipboard

Functions for a check that a dangerous permission is granted.

## Constructors

PermissionFunction
Link copied to clipboard
fun PermissionFunction()
Content copied to clipboard

## Functions

checkForPermissions
Link copied to clipboard
fun checkForPermissions(activity: Activity, permissionType: String, permissionName: String, context: Context): Boolean
Content copied to clipboard

Check if permission is granted.

showSettingsDialog
Link copied to clipboard
fun showSettingsDialog(activity: Activity, permissionName: String, context: Context)
Content copied to clipboard

Display a settings dialog when an permission is absolute denied.