builtInDualWideCamera constant
String
const builtInDualWideCamera
A device that consists of two fixed focal length cameras, one ultra wide and one wide angle.
Note that devices of this type may only be discovered using an
CaptureDeviceDiscoverySession or
AVCaptureDevice.defaultDeviceWithDeviceType
.
A device of this device type supports the following features:
- Auto switching from one camera to the other when zoom factor, light level, and focus position allow this.
- Depth data delivery by measuring the disparity of matched features between the ultra wide and wide cameras.
- Delivery of photos from constituent devices (ultra wide and wide) via a single photo capture request.
A device of this device type does not support the following features:
- CaptureExposureMode.custom and manual exposure bracketing.
- Locking focus with a lens position other than
CaptureLensPositionCurrent
. - Locking auto white balance with device white balance gains other than
CaptureWhiteBalanceGainsCurrent
.
Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
Implementation
static const String builtInDualWideCamera =
'AVCaptureDeviceTypeBuiltInDualWideCamera';