lovr.system.requestPermission

Requests permission to use a feature. Usually this will pop up a dialog box that the user needs to confirm. Once the permission request has been acknowledged, the lovr.permission callback will be called with the result. Currently, this is only used for requesting microphone access on Android devices.

lovr.system.requestPermission(permission)

Arguments

NameTypeDescription
permissionPermissionThe permission to request.

Returns

Nothing

See also