Manifest Permission Request
class ManifestPermissionRequest(context: Context, permissions: Array<out String>) : BasePermissionRequest
Content copied to clipboard
Implementation of BasePermissionRequest that checks the permissions below Android M. To check if a permission is granted or not, the only information needed is its presence in the manifest.
Constructors
ManifestPermissionRequest
Link copied to clipboard
fun ManifestPermissionRequest(context: Context, permissions: Array<out String>)
Content copied to clipboard
Functions
add Listener
Link copied to clipboard
Adds a Listener which will be notified when the permissions request sent with send ends.
check Status
Link copied to clipboard
Checks the status of permissions of this request without sending it. Below API 23, this method and send should have the same behavior since the permissions status can be checked without sending a runtime request. Below API 23, the possible status are:
remove All Listeners
Link copied to clipboard
Removes all the listeners added to this request.
remove Listener
Link copied to clipboard
Removes a Listener added with addListener which should not be notified anymore.