getDefaultCameraDevice

function getDefaultCameraDevice(position: CameraPosition): Promise<CameraDevice | undefined>

Returns the default CameraDevice for the given CameraPosition.

This is usually the physical wide-angle Camera on the respective side of the device. If no Camera is available on the given position, this returns undefined.

See

getCameraDevice

On this page

No Headings