Base Permission Request Builder
Base PermissionRequestBuilder that specifies the common configurations.
This builder specifies also the default configurations and throws the correct exceptions when the method build is invoked with an invalid configuration. When the method createRequest is called, the configuration can't change anymore, all the defaults are assigned and it can be considered valid.
Constructors
BasePermissionRequestBuilder
Link copied to clipboard
Functions
build
Link copied to clipboard
Build the PermissionRequest with all the configurations set. It will also assigns the default values and throw some exceptions if the configuration of this builder isn't a valid one.
permissions
Link copied to clipboard
open override fun permissions(firstPermission: String, vararg otherPermissions: String): PermissionRequestBuilder
Content copied to clipboard
Sets the permissions that must be requested.
runtime Handler Provider
Link copied to clipboard
open override fun runtimeHandlerProvider(runtimeHandlerProvider: RuntimePermissionHandlerProvider): PermissionRequestBuilder
Content copied to clipboard
Sets the RuntimePermissionHandlerProvider used to provide a RuntimePermissionHandler.
Inheritors
CompatPermissionRequestBuilder
Link copied to clipboard