Package com.fondesa.kpermissions.request.runtime

Types

RuntimePermissionHandler
Link copied to clipboard
interface RuntimePermissionHandler

Used to handle the runtime permissions since Android M. This component must persist across configuration changes because the permission request is partially handled by the OS.

RuntimePermissionHandlerProvider
Link copied to clipboard
fun interface RuntimePermissionHandlerProvider

Provides a RuntimePermissionHandler to manage runtime permissions since Android M.

RuntimePermissionRequest
Link copied to clipboard
class RuntimePermissionRequest(activity: Activity, permissions: Array<out String>, handler: RuntimePermissionHandler) : BasePermissionRequest, RuntimePermissionHandler.Listener

Implementation of BasePermissionRequest that checks the permissions since Android M. The checks on the permissions are delegated to the RuntimePermissionHandler provided to this request.