Class DocumentScannerCameraConfiguration
[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
CameraModuledefaultZoomFactor
doubleflashEnabled
boolminFocusDistanceLock
booltouchToFocusEnabled
boolpinchToZoomEnabled
boolcameraPreviewMode
CameraPreviewModecaptureQualityPrioritization
CapturePhotoQualityPrioritizationacceptedAngleScore
doubleacceptedSizeScore
doubleautoSnappingSensitivity
doubleautoSnappingDelay
intacceptedBrightnessThreshold
intautoSnappingEnabled
boolrequiredAspectRatios
IList<AspectRatio>ignoreBadAspectRatio
boolcaptureWithHardwareButtonsEnabled
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
AcceptedBrightnessThreshold
public int AcceptedBrightnessThreshold { get; set; }
Property Value
AcceptedSizeScore
public double AcceptedSizeScore { get; set; }
Property Value
AutoSnappingDelay
public int AutoSnappingDelay { get; set; }
Property Value
AutoSnappingEnabled
public bool AutoSnappingEnabled { get; set; }
Property Value
AutoSnappingSensitivity
public double AutoSnappingSensitivity { get; set; }
Property Value
CameraModule
public CameraModule CameraModule { get; set; }
Property Value
CameraPreviewMode
public CameraPreviewMode CameraPreviewMode { get; set; }
Property Value
CaptureQualityPrioritization
public CapturePhotoQualityPrioritization CaptureQualityPrioritization { get; set; }
Property Value
CaptureWithHardwareButtonsEnabled
public bool CaptureWithHardwareButtonsEnabled { get; set; }
Property Value
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
DefaultZoomFactor
public double DefaultZoomFactor { get; set; }
Property Value
FlashEnabled
public bool FlashEnabled { get; set; }
Property Value
IgnoreBadAspectRatio
public bool IgnoreBadAspectRatio { get; set; }
Property Value
MinFocusDistanceLock
public bool MinFocusDistanceLock { get; set; }
Property Value
PinchToZoomEnabled
public bool PinchToZoomEnabled { get; set; }
Property Value
RequiredAspectRatios
public IList<AspectRatio> RequiredAspectRatios { get; set; }
Property Value
TouchToFocusEnabled
public bool TouchToFocusEnabled { get; set; }
Property Value
Methods
Component1()
[Register("component1", "()Lio/scanbot/sdk/ui_v2/common/CameraModule;", "")]
public CameraModule Component1()
Returns
Component10()
[Register("component10", "()D", "")]
public double Component10()
Returns
Component11()
[Register("component11", "()D", "")]
public double Component11()
Returns
Component12()
[Register("component12", "()I", "")]
public int Component12()
Returns
Component13()
[Register("component13", "()I", "")]
public int Component13()
Returns
Component14()
[Register("component14", "()Z", "")]
public bool Component14()
Returns
Component15()
[Register("component15", "()Ljava/util/List;", "")]
public IList<AspectRatio> Component15()
Returns
Component16()
[Register("component16", "()Z", "")]
public bool Component16()
Returns
Component17()
[Register("component17", "()Z", "")]
public bool Component17()
Returns
Component2()
[Register("component2", "()D", "")]
public double Component2()
Returns
Component3()
[Register("component3", "()Z", "")]
public bool Component3()
Returns
Component4()
[Register("component4", "()Z", "")]
public bool Component4()
Returns
Component5()
[Register("component5", "()Z", "")]
public bool Component5()
Returns
Component6()
[Register("component6", "()Z", "")]
public bool Component6()
Returns
Component7()
[Register("component7", "()Lio/scanbot/sdk/ui_v2/common/CameraPreviewMode;", "")]
public CameraPreviewMode Component7()
Returns
Component8()
[Register("component8", "()Lio/scanbot/sdk/ui_v2/document/configuration/CapturePhotoQualityPrioritization;", "")]
public CapturePhotoQualityPrioritization Component8()
Returns
Component9()
[Register("component9", "()D", "")]
public double Component9()
Returns
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
CameraModuledefaultZoomFactor
doubleflashEnabled
boolminFocusDistanceLock
booltouchToFocusEnabled
boolpinchToZoomEnabled
boolcameraPreviewMode
CameraPreviewModecaptureQualityPrioritization
CapturePhotoQualityPrioritizationacceptedAngleScore
doubleacceptedSizeScore
doubleautoSnappingSensitivity
doubleautoSnappingDelay
intacceptedBrightnessThreshold
intautoSnappingEnabled
boolrequiredAspectRatios
IList<AspectRatio>ignoreBadAspectRatio
boolcaptureWithHardwareButtonsEnabled
bool
Returns
Default()
[Register("default", "()Lio/scanbot/sdk/ui_v2/document/configuration/DocumentScannerCameraConfiguration;", "")]
public static DocumentScannerCameraConfiguration Default()
Returns
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
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
ToJson()
[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()
Returns
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
Parcelflags
ParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE
.
Remarks
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the