Table of Contents

Class DocumentScannerCameraConfiguration

Namespace
IO.Scanbot.Sdk.Ui_v2.Document.Configuration
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/document/configuration/DocumentScannerCameraConfiguration", DoNotGenerateAcw = true)]
public sealed class DocumentScannerCameraConfiguration : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
DocumentScannerCameraConfiguration
Implements
Inherited Members

Constructors

DocumentScannerCameraConfiguration()

[Register(".ctor", "()V", "")]
public DocumentScannerCameraConfiguration()

DocumentScannerCameraConfiguration(CameraModule, double, bool, bool, bool, bool, CameraPreviewMode, CapturePhotoQualityPrioritization, double, double, double, int, int, bool, IList<AspectRatio>, bool, bool)

[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/common/CameraModule;DZZZZLio/scanbot/sdk/ui_v2/common/CameraPreviewMode;Lio/scanbot/sdk/ui_v2/document/configuration/CapturePhotoQualityPrioritization;DDDIIZLjava/util/List;ZZ)V", "")]
public DocumentScannerCameraConfiguration(CameraModule cameraModule, double defaultZoomFactor, bool flashEnabled, bool minFocusDistanceLock, bool touchToFocusEnabled, bool pinchToZoomEnabled, CameraPreviewMode cameraPreviewMode, CapturePhotoQualityPrioritization captureQualityPrioritization, double acceptedAngleScore, double acceptedSizeScore, double autoSnappingSensitivity, int autoSnappingDelay, int acceptedBrightnessThreshold, bool autoSnappingEnabled, IList<AspectRatio> requiredAspectRatios, bool ignoreBadAspectRatio, bool captureWithHardwareButtonsEnabled)

Parameters

cameraModule CameraModule
defaultZoomFactor double
flashEnabled bool
minFocusDistanceLock bool
touchToFocusEnabled bool
pinchToZoomEnabled bool
cameraPreviewMode CameraPreviewMode
captureQualityPrioritization CapturePhotoQualityPrioritization
acceptedAngleScore double
acceptedSizeScore double
autoSnappingSensitivity double
autoSnappingDelay int
acceptedBrightnessThreshold int
autoSnappingEnabled bool
requiredAspectRatios IList<AspectRatio>
ignoreBadAspectRatio bool
captureWithHardwareButtonsEnabled bool

DocumentScannerCameraConfiguration(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public DocumentScannerCameraConfiguration(JSONObject json)

Parameters

json JSONObject

DocumentScannerCameraConfiguration(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public DocumentScannerCameraConfiguration(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

AcceptedAngleScore

public double AcceptedAngleScore { get; set; }

Property Value

double

AcceptedBrightnessThreshold

public int AcceptedBrightnessThreshold { get; set; }

Property Value

int

AcceptedSizeScore

public double AcceptedSizeScore { get; set; }

Property Value

double

AutoSnappingDelay

public int AutoSnappingDelay { get; set; }

Property Value

int

AutoSnappingEnabled

public bool AutoSnappingEnabled { get; set; }

Property Value

bool

AutoSnappingSensitivity

public double AutoSnappingSensitivity { get; set; }

Property Value

double

CameraModule

public CameraModule CameraModule { get; set; }

Property Value

CameraModule

CameraPreviewMode

public CameraPreviewMode CameraPreviewMode { get; set; }

Property Value

CameraPreviewMode

CaptureQualityPrioritization

public CapturePhotoQualityPrioritization CaptureQualityPrioritization { get; set; }

Property Value

CapturePhotoQualityPrioritization

CaptureWithHardwareButtonsEnabled

public bool CaptureWithHardwareButtonsEnabled { get; set; }

Property Value

bool

Creator

[Register("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

IgnoreBadAspectRatio

public bool IgnoreBadAspectRatio { get; set; }

Property Value

bool

MinFocusDistanceLock

public bool MinFocusDistanceLock { get; set; }

Property Value

bool

PinchToZoomEnabled

public bool PinchToZoomEnabled { get; set; }

Property Value

bool

RequiredAspectRatios

public IList<AspectRatio> RequiredAspectRatios { get; set; }

Property Value

IList<AspectRatio>

TouchToFocusEnabled

public bool TouchToFocusEnabled { get; set; }

Property Value

bool

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/ui_v2/common/CameraModule;", "")]
public CameraModule Component1()

Returns

CameraModule

Component10()

[Register("component10", "()D", "")]
public double Component10()

Returns

double

Component11()

[Register("component11", "()D", "")]
public double Component11()

Returns

double

Component12()

[Register("component12", "()I", "")]
public int Component12()

Returns

int

Component13()

[Register("component13", "()I", "")]
public int Component13()

Returns

int

Component14()

[Register("component14", "()Z", "")]
public bool Component14()

Returns

bool

Component15()

[Register("component15", "()Ljava/util/List;", "")]
public IList<AspectRatio> Component15()

Returns

IList<AspectRatio>

Component16()

[Register("component16", "()Z", "")]
public bool Component16()

Returns

bool

Component17()

[Register("component17", "()Z", "")]
public bool Component17()

Returns

bool

Component2()

[Register("component2", "()D", "")]
public double Component2()

Returns

double

Component3()

[Register("component3", "()Z", "")]
public bool Component3()

Returns

bool

Component4()

[Register("component4", "()Z", "")]
public bool Component4()

Returns

bool

Component5()

[Register("component5", "()Z", "")]
public bool Component5()

Returns

bool

Component6()

[Register("component6", "()Z", "")]
public bool Component6()

Returns

bool

Component7()

[Register("component7", "()Lio/scanbot/sdk/ui_v2/common/CameraPreviewMode;", "")]
public CameraPreviewMode Component7()

Returns

CameraPreviewMode

Component8()

[Register("component8", "()Lio/scanbot/sdk/ui_v2/document/configuration/CapturePhotoQualityPrioritization;", "")]
public CapturePhotoQualityPrioritization Component8()

Returns

CapturePhotoQualityPrioritization

Component9()

[Register("component9", "()D", "")]
public double Component9()

Returns

double

Copy(CameraModule, double, bool, bool, bool, bool, CameraPreviewMode, CapturePhotoQualityPrioritization, double, double, double, int, int, bool, IList<AspectRatio>, bool, bool)

[Register("copy", "(Lio/scanbot/sdk/ui_v2/common/CameraModule;DZZZZLio/scanbot/sdk/ui_v2/common/CameraPreviewMode;Lio/scanbot/sdk/ui_v2/document/configuration/CapturePhotoQualityPrioritization;DDDIIZLjava/util/List;ZZ)Lio/scanbot/sdk/ui_v2/document/configuration/DocumentScannerCameraConfiguration;", "")]
public DocumentScannerCameraConfiguration Copy(CameraModule cameraModule, double defaultZoomFactor, bool flashEnabled, bool minFocusDistanceLock, bool touchToFocusEnabled, bool pinchToZoomEnabled, CameraPreviewMode cameraPreviewMode, CapturePhotoQualityPrioritization captureQualityPrioritization, double acceptedAngleScore, double acceptedSizeScore, double autoSnappingSensitivity, int autoSnappingDelay, int acceptedBrightnessThreshold, bool autoSnappingEnabled, IList<AspectRatio> requiredAspectRatios, bool ignoreBadAspectRatio, bool captureWithHardwareButtonsEnabled)

Parameters

cameraModule CameraModule
defaultZoomFactor double
flashEnabled bool
minFocusDistanceLock bool
touchToFocusEnabled bool
pinchToZoomEnabled bool
cameraPreviewMode CameraPreviewMode
captureQualityPrioritization CapturePhotoQualityPrioritization
acceptedAngleScore double
acceptedSizeScore double
autoSnappingSensitivity double
autoSnappingDelay int
acceptedBrightnessThreshold int
autoSnappingEnabled bool
requiredAspectRatios IList<AspectRatio>
ignoreBadAspectRatio bool
captureWithHardwareButtonsEnabled bool

Returns

DocumentScannerCameraConfiguration

Default()

[Register("default", "()Lio/scanbot/sdk/ui_v2/document/configuration/DocumentScannerCameraConfiguration;", "")]
public static DocumentScannerCameraConfiguration Default()

Returns

DocumentScannerCameraConfiguration

DescribeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

[Register("describeContents", "()I", "")]
public int DescribeContents()

Returns

int

a bitmask indicating the set of special object types marshaled by this Parcelable object instance.

Remarks

Java documentation for

android.os.Parcelable.describeContents()
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ToJson()

[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.