canHandle

abstract fun canHandle(permission: String): Boolean

Checks whether the permission handler can handle the given permission.

Return

If the handler can handle the permission or not.

Parameters

permission

The permission needed to handle.


open fun canHandle(permissions: List<String>): Boolean

Checks whether the permission handler can handle the given permissions.

Return

If the handler can handle the permissions or not.

Parameters

permissions

The permissions that need to be handled.