MissingPermissionException

constructor(message: String, missingPermission: Permission)

Parameters

message

a descriptive message explaining the context of the failed permission check

missingPermission

the Permission that was required but not granted