Class CameraConfiguration
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
Configuration of the camera settings to be used while scanning.
public class CameraConfiguration
- Inheritance
-
CameraConfiguration
- Inherited Members
Properties
CameraModule
Determines which camera module to use on start-up. Default is BACK
public CameraModule CameraModule { get; set; }
Property Value
CameraPreviewMode
Determines which camera preview mode to use. Default is FILL_IN
public CameraPreviewMode CameraPreviewMode { get; set; }
Property Value
DefaultZoomFactor
The default zoom factor on start-up. Default is 1.0
public double DefaultZoomFactor { get; set; }
Property Value
FlashEnabled
Determines whether the flash is enabled on start-up. Default is false
public bool FlashEnabled { get; set; }
Property Value
MinFocusDistanceLock
Determines whether to lock the focus at the minimum possible distance (device-specific). Default is false
public bool MinFocusDistanceLock { get; set; }
Property Value
OrientationLockMode
Determines which mode to use when orientation should be locked to landscape or portrait. Default is NONE
public OrientationLockMode OrientationLockMode { get; set; }
Property Value
PinchToZoomEnabled
Determines whether pinch-to-zoom is enabled or not. Default is true
public bool PinchToZoomEnabled { get; set; }
Property Value
ZoomSteps
The zoom steps available to the user.
public double[] ZoomSteps { get; set; }
Property Value
- double[]
Methods
FromJson(string)
public static CameraConfiguration FromJson(string rawJson)
Parameters
rawJson
string