requirePermissionForOrThrow

open suspend fun requirePermissionForOrThrow(priority: Priority)

Requests the necessary permissions to access the device's location, and throws an exception if the permission is denied.

Throws

If the permission is denied.

If the permission is missing.