lovr.system.requestPermission

Edit

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
permissionPermission The permission to request.

Returns

Nothing

See also