Function: resolveDeviceCameraTarget()
resolveDeviceCameraTarget(
configured?):string
Defined in: src/camera/CameraUtils.ts:64
Resolves the DEVICE_CAMERA_PARAMETERS profile for this page: a
?camera=<profile> URL parameter (matched case-insensitively), then
configured (an exact key), then detectDeviceCameraTarget. Unknown
names are ignored with a console warning. XRDeviceCamera resolves its
targetDevice this way when it is created.
Parameters
configured?
string
The profile chosen in code, normally
options.deviceCamera.targetDevice.
Returns
string