EnumCameraPosition
EnumCameraPosition is an enumeration that defines the possible camera positions that are available to a device. The majority of modern mobile devices have a front and a rear camera. The more recent iPhones also come with multiple rear cameras, each being suited to different scenarios.
Definition
Assembly: dynamsoft_capture_vision_flutter
enum EnumCameraPosition {
back,
front,
backUltraWide,
backDualWideAuto
}
Members
| Member | Description |
|---|---|
back |
The default, back-facing camera. It is a wide-angle camera for general usage. |
front |
The front-facing camera. |
backUltraWide |
(iOS ONLY) The back-facing ultra-wide-angle camera - which should be used for macro-distance scenarios. |
backDualWideAuto |
(iOS ONLY) The back-facing virtual camera that can automatically switch between the default wide-angle and the ultra-wide-angle cameras. (Supported devices: Pro or Pro Max iPhones) |