Table of Contents

Class BarcodeScannerConfiguration

Namespace
IO.Scanbot.Sdk.Barcode
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/barcode/BarcodeScannerConfiguration", DoNotGenerateAcw = true)]
public sealed class BarcodeScannerConfiguration : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
BarcodeScannerConfiguration
Implements
Inherited Members

Constructors

BarcodeScannerConfiguration()

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

BarcodeScannerConfiguration(JSONObject)

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

Parameters

json JSONObject

BarcodeScannerConfiguration(IDictionary<string, Object>)

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

Parameters

source IDictionary<string, Object>

BarcodeScannerConfiguration(IList<BarcodeFormatConfigurationBase>, IList<BarcodeDocumentFormat>, bool, bool, BarcodeScannerEngineMode, bool)

[Register(".ctor", "(Ljava/util/List;Ljava/util/List;ZZLio/scanbot/sdk/barcode/BarcodeScannerEngineMode;Z)V", "")]
public BarcodeScannerConfiguration(IList<BarcodeFormatConfigurationBase> barcodeFormatConfigurations, IList<BarcodeDocumentFormat> extractedDocumentFormats, bool onlyAcceptDocuments, bool returnBarcodeImage, BarcodeScannerEngineMode engineMode, bool optimizedForOverlays)

Parameters

barcodeFormatConfigurations IList<BarcodeFormatConfigurationBase>
extractedDocumentFormats IList<BarcodeDocumentFormat>
onlyAcceptDocuments bool
returnBarcodeImage bool
engineMode BarcodeScannerEngineMode
optimizedForOverlays bool

Properties

BarcodeFormatConfigurations

public IList<BarcodeFormatConfigurationBase> BarcodeFormatConfigurations { get; set; }

Property Value

IList<BarcodeFormatConfigurationBase>

Creator

[Register("CREATOR")]
public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

EngineMode

public BarcodeScannerEngineMode EngineMode { get; set; }

Property Value

BarcodeScannerEngineMode

ExtractedDocumentFormats

public IList<BarcodeDocumentFormat> ExtractedDocumentFormats { get; set; }

Property Value

IList<BarcodeDocumentFormat>

OnlyAcceptDocuments

public bool OnlyAcceptDocuments { get; set; }

Property Value

bool

OptimizedForOverlays

public bool OptimizedForOverlays { get; set; }

Property Value

bool

ReturnBarcodeImage

public bool ReturnBarcodeImage { get; set; }

Property Value

bool

Methods

Component1()

[Register("component1", "()Ljava/util/List;", "")]
public IList<BarcodeFormatConfigurationBase> Component1()

Returns

IList<BarcodeFormatConfigurationBase>

Component2()

[Register("component2", "()Ljava/util/List;", "")]
public IList<BarcodeDocumentFormat> Component2()

Returns

IList<BarcodeDocumentFormat>

Component3()

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

Returns

bool

Component4()

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

Returns

bool

Component5()

[Register("component5", "()Lio/scanbot/sdk/barcode/BarcodeScannerEngineMode;", "")]
public BarcodeScannerEngineMode Component5()

Returns

BarcodeScannerEngineMode

Component6()

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

Returns

bool

Copy(IList<BarcodeFormatConfigurationBase>, IList<BarcodeDocumentFormat>, bool, bool, BarcodeScannerEngineMode, bool)

[Register("copy", "(Ljava/util/List;Ljava/util/List;ZZLio/scanbot/sdk/barcode/BarcodeScannerEngineMode;Z)Lio/scanbot/sdk/barcode/BarcodeScannerConfiguration;", "")]
public BarcodeScannerConfiguration Copy(IList<BarcodeFormatConfigurationBase> barcodeFormatConfigurations, IList<BarcodeDocumentFormat> extractedDocumentFormats, bool onlyAcceptDocuments, bool returnBarcodeImage, BarcodeScannerEngineMode engineMode, bool optimizedForOverlays)

Parameters

barcodeFormatConfigurations IList<BarcodeFormatConfigurationBase>
extractedDocumentFormats IList<BarcodeDocumentFormat>
onlyAcceptDocuments bool
returnBarcodeImage bool
engineMode BarcodeScannerEngineMode
optimizedForOverlays bool

Returns

BarcodeScannerConfiguration

Default()

[Register("default", "()Lio/scanbot/sdk/barcode/BarcodeScannerConfiguration;", "")]
public static BarcodeScannerConfiguration Default()

Returns

BarcodeScannerConfiguration

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(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 @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.