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, bool, CameraPreviewMode, CapturePhotoQualityPrioritization, double, int, bool, bool, int, CameraLiveScannerResolution, CameraPreviewAspectRatio)

[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/common/CameraModule;DZZZZZLio/scanbot/sdk/ui_v2/common/CameraPreviewMode;Lio/scanbot/sdk/ui_v2/document/configuration/CapturePhotoQualityPrioritization;DIZZILio/scanbot/sdk/ui/camera/CameraLiveScannerResolution;Lio/scanbot/sdk/ui_v2/common/CameraPreviewAspectRatio;)V", "")]
public DocumentScannerCameraConfiguration(CameraModule cameraModule, double defaultZoomFactor, bool autoCropOnManualSnap, bool flashEnabled, bool minFocusDistanceLock, bool touchToFocusEnabled, bool pinchToZoomEnabled, CameraPreviewMode cameraPreviewMode, CapturePhotoQualityPrioritization captureQualityPrioritization, double autoSnappingSensitivity, int autoSnappingDelay, bool autoSnappingEnabled, bool captureWithHardwareButtonsEnabled, int fpsLimit, CameraLiveScannerResolution cameraLiveScannerResolution, CameraPreviewAspectRatio cameraPreviewAspectRatio)

Parameters

cameraModule CameraModule
defaultZoomFactor double
autoCropOnManualSnap bool
flashEnabled bool
minFocusDistanceLock bool
touchToFocusEnabled bool
pinchToZoomEnabled bool
cameraPreviewMode CameraPreviewMode
captureQualityPrioritization CapturePhotoQualityPrioritization
autoSnappingSensitivity double
autoSnappingDelay int
autoSnappingEnabled bool
captureWithHardwareButtonsEnabled bool
fpsLimit int
cameraLiveScannerResolution CameraLiveScannerResolution
cameraPreviewAspectRatio CameraPreviewAspectRatio

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

AutoCropOnManualSnap

public bool AutoCropOnManualSnap { get; set; }

Property Value

bool

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

CameraLiveScannerResolution

public CameraLiveScannerResolution CameraLiveScannerResolution { get; set; }

Property Value

CameraLiveScannerResolution

CameraModule

public CameraModule CameraModule { get; set; }

Property Value

CameraModule

CameraPreviewAspectRatio

public CameraPreviewAspectRatio CameraPreviewAspectRatio { get; set; }

Property Value

CameraPreviewAspectRatio

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

FpsLimit

public int FpsLimit { get; set; }

Property Value

int

MinFocusDistanceLock

public bool MinFocusDistanceLock { get; set; }

Property Value

bool

PinchToZoomEnabled

public bool PinchToZoomEnabled { get; set; }

Property Value

bool

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", "()I", "")]
public int Component11()

Returns

int

Component12()

[Register("component12", "()Z", "")]
public bool Component12()

Returns

bool

Component13()

[Register("component13", "()Z", "")]
public bool Component13()

Returns

bool

Component14()

[Register("component14", "()I", "")]
public int Component14()

Returns

int

Component15()

[Register("component15", "()Lio/scanbot/sdk/ui/camera/CameraLiveScannerResolution;", "")]
public CameraLiveScannerResolution Component15()

Returns

CameraLiveScannerResolution

Component16()

[Register("component16", "()Lio/scanbot/sdk/ui_v2/common/CameraPreviewAspectRatio;", "")]
public CameraPreviewAspectRatio Component16()

Returns

CameraPreviewAspectRatio

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", "()Z", "")]
public bool Component7()

Returns

bool

Component8()

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

Returns

CameraPreviewMode

Component9()

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

Returns

CapturePhotoQualityPrioritization

Copy(CameraModule, double, bool, bool, bool, bool, bool, CameraPreviewMode, CapturePhotoQualityPrioritization, double, int, bool, bool, int, CameraLiveScannerResolution, CameraPreviewAspectRatio)

[Register("copy", "(Lio/scanbot/sdk/ui_v2/common/CameraModule;DZZZZZLio/scanbot/sdk/ui_v2/common/CameraPreviewMode;Lio/scanbot/sdk/ui_v2/document/configuration/CapturePhotoQualityPrioritization;DIZZILio/scanbot/sdk/ui/camera/CameraLiveScannerResolution;Lio/scanbot/sdk/ui_v2/common/CameraPreviewAspectRatio;)Lio/scanbot/sdk/ui_v2/document/configuration/DocumentScannerCameraConfiguration;", "")]
public DocumentScannerCameraConfiguration Copy(CameraModule cameraModule, double defaultZoomFactor, bool autoCropOnManualSnap, bool flashEnabled, bool minFocusDistanceLock, bool touchToFocusEnabled, bool pinchToZoomEnabled, CameraPreviewMode cameraPreviewMode, CapturePhotoQualityPrioritization captureQualityPrioritization, double autoSnappingSensitivity, int autoSnappingDelay, bool autoSnappingEnabled, bool captureWithHardwareButtonsEnabled, int fpsLimit, CameraLiveScannerResolution cameraLiveScannerResolution, CameraPreviewAspectRatio cameraPreviewAspectRatio)

Parameters

cameraModule CameraModule
defaultZoomFactor double
autoCropOnManualSnap bool
flashEnabled bool
minFocusDistanceLock bool
touchToFocusEnabled bool
pinchToZoomEnabled bool
cameraPreviewMode CameraPreviewMode
captureQualityPrioritization CapturePhotoQualityPrioritization
autoSnappingSensitivity double
autoSnappingDelay int
autoSnappingEnabled bool
captureWithHardwareButtonsEnabled bool
fpsLimit int
cameraLiveScannerResolution CameraLiveScannerResolution
cameraPreviewAspectRatio CameraPreviewAspectRatio

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

<p>Describe the kinds of special objects contained in this Parcelable

instance's marshaled representation. For example, if the object will include a file descriptor in the output of #writeToParcel(Parcel, int), the return value of this method must include the #CONTENTS_FILE_DESCRIPTOR bit.

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(ToJsonConfiguration)

[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

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

Parameters

dest Parcel

The Parcel in which the object should be written.

flags ParcelableWriteFlags

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

Remarks

Flatten this object in to a Parcel.

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.