Permissions

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Options to customize while requesting permissions.

Functions

Link copied to clipboard
fun check(context: Context, permission: String, rationaleId: Int, handler: PermissionHandler)
fun check(context: Context, permission: String, rationale: String, handler: PermissionHandler)
Check/Request a permission and call the callback methods of permission handler accordingly.
fun check(context: Context, permissions: Array<String>, rationaleId: Int, options: Permissions.Options, handler: PermissionHandler)
fun check(context: Context, permissions: Array<String>, rationale: String, options: Permissions.Options, handler: PermissionHandler)
Check/Request permissions and call the callback methods of permission handler accordingly.