Table of Contents

Class CameraConfiguration

Namespace
IO.Scanbot.Sdk.Ui_v2.Common
Assembly
DocumentSDK.NET.Droid.dll
public sealed class CameraConfiguration : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
Inheritance
CameraConfiguration
Implements

Constructors

CameraConfiguration()

public CameraConfiguration()

CameraConfiguration(CameraModule, IList<Double>, double, bool, bool, bool, bool, OrientationLockMode, CameraPreviewMode, int)

public CameraConfiguration(CameraModule cameraModule, IList<Double> zoomSteps, double defaultZoomFactor, bool flashEnabled, bool minFocusDistanceLock, bool touchToFocusEnabled, bool pinchToZoomEnabled, OrientationLockMode orientationLockMode, CameraPreviewMode cameraPreviewMode, int fpsLimit)

Parameters

cameraModule CameraModule
zoomSteps IList<Double>
defaultZoomFactor double
flashEnabled bool
minFocusDistanceLock bool
touchToFocusEnabled bool
pinchToZoomEnabled bool
orientationLockMode OrientationLockMode
cameraPreviewMode CameraPreviewMode
fpsLimit int

CameraConfiguration(JSONObject)

public CameraConfiguration(JSONObject json)

Parameters

json JSONObject

CameraConfiguration(IDictionary<string, Object>)

public CameraConfiguration(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

CameraModule

public CameraModule CameraModule { get; set; }

Property Value

CameraModule

CameraPreviewMode

public CameraPreviewMode CameraPreviewMode { get; set; }

Property Value

CameraPreviewMode

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

DefaultZoomFactor

public double DefaultZoomFactor { get; set; }

Property Value

double

FlashEnabled

public bool FlashEnabled { get; set; }

Property Value

bool

FpsLimit

public int FpsLimit { get; set; }

Property Value

int

MinFocusDistanceLock

public bool MinFocusDistanceLock { get; set; }

Property Value

bool

OrientationLockMode

public OrientationLockMode OrientationLockMode { get; set; }

Property Value

OrientationLockMode

PinchToZoomEnabled

public bool PinchToZoomEnabled { get; set; }

Property Value

bool

TouchToFocusEnabled

public bool TouchToFocusEnabled { get; set; }

Property Value

bool

ZoomSteps

public IList<Double> ZoomSteps { get; set; }

Property Value

IList<Double>

Methods

Component1()

public CameraModule Component1()

Returns

CameraModule

Component10()

public int Component10()

Returns

int

Component2()

public IList<Double> Component2()

Returns

IList<Double>

Component3()

public double Component3()

Returns

double

Component4()

public bool Component4()

Returns

bool

Component5()

public bool Component5()

Returns

bool

Component6()

public bool Component6()

Returns

bool

Component7()

public bool Component7()

Returns

bool

Component8()

public OrientationLockMode Component8()

Returns

OrientationLockMode

Component9()

public CameraPreviewMode Component9()

Returns

CameraPreviewMode

Copy(CameraModule, IList<Double>, double, bool, bool, bool, bool, OrientationLockMode, CameraPreviewMode, int)

public CameraConfiguration Copy(CameraModule cameraModule, IList<Double> zoomSteps, double defaultZoomFactor, bool flashEnabled, bool minFocusDistanceLock, bool touchToFocusEnabled, bool pinchToZoomEnabled, OrientationLockMode orientationLockMode, CameraPreviewMode cameraPreviewMode, int fpsLimit)

Parameters

cameraModule CameraModule
zoomSteps IList<Double>
defaultZoomFactor double
flashEnabled bool
minFocusDistanceLock bool
touchToFocusEnabled bool
pinchToZoomEnabled bool
orientationLockMode OrientationLockMode
cameraPreviewMode CameraPreviewMode
fpsLimit int

Returns

CameraConfiguration

Default()

public static CameraConfiguration Default()

Returns

CameraConfiguration

DescribeContents()

public int DescribeContents()

Returns

int

ToJson(ToJsonConfiguration)

public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags