construct System Alert Window Permission Request
fun FragmentActivity.constructSystemAlertWindowPermissionRequest(onShowRationale: ShowRationaleFun? = null, onPermissionDenied: Fun? = null, requiresPermission: Fun): PermissionsRequester
Content copied to clipboard
fun Fragment.constructSystemAlertWindowPermissionRequest(onShowRationale: ShowRationaleFun? = null, onPermissionDenied: Fun? = null, requiresPermission: Fun): PermissionsRequester
Content copied to clipboard
Constructs a request for android.Manifest.permission.SYSTEM_ALERT_WINDOW. Be sure to invoke the method when an activity is created to capture the valid callbacks.
See also
Parameters
onShowRationale
the method explains why the permissions are required.
onPermissionDenied
the method invoked if the user doesn't grant the permissions.
requiresPermission
the action requires permissions.