Table of Contents

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

CameraModule

CameraPreviewMode

Determines which camera preview mode to use. Default is FILL_IN

public CameraPreviewMode CameraPreviewMode { get; set; }

Property Value

CameraPreviewMode

DefaultZoomFactor

The default zoom factor on start-up. Default is 1.0

public double DefaultZoomFactor { get; set; }

Property Value

double

FlashEnabled

Determines whether the flash is enabled on start-up. Default is false

public bool FlashEnabled { get; set; }

Property Value

bool

MinFocusDistanceLock

Determines whether to lock the focus at the minimum possible distance (device-specific). Default is false

public bool MinFocusDistanceLock { get; set; }

Property Value

bool

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

OrientationLockMode

PinchToZoomEnabled

Determines whether pinch-to-zoom is enabled or not. Default is true

public bool PinchToZoomEnabled { get; set; }

Property Value

bool

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

Returns

CameraConfiguration