Table of Contents

Class BarcodeItem

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

Constructors

BarcodeItem(JSONObject)

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

Parameters

json JSONObject

BarcodeItem(IDictionary<string, Object>)

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

Parameters

source IDictionary<string, Object>

BarcodeItem(string, BarcodeFormat, IList<Point>, IList<PointF>, bool, ImageRef, byte[], string, bool, bool, int, double, GenericDocument)

[Register(".ctor", "(Ljava/lang/String;Lio/scanbot/sdk/barcode/BarcodeFormat;Ljava/util/List;Ljava/util/List;ZLio/scanbot/sdk/core/ImageRef;[BLjava/lang/String;ZZIDLio/scanbot/sdk/genericdocument/entity/GenericDocument;)V", "")]
public BarcodeItem(string text, BarcodeFormat format, IList<Point> quad, IList<PointF> quadNormalized, bool isUpsideDown, ImageRef sourceImage, byte[] rawBytes, string upcEanExtension, bool isGS1Message, bool isGS1CompositePart, int dataBarStackSize, double sizeScore, GenericDocument extractedDocument)

Parameters

text string
format BarcodeFormat
quad IList<Point>
quadNormalized IList<PointF>
isUpsideDown bool
sourceImage ImageRef
rawBytes byte[]
upcEanExtension string
isGS1Message bool
isGS1CompositePart bool
dataBarStackSize int
sizeScore double
extractedDocument GenericDocument

Properties

Creator

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

Property Value

IParcelableCreator

DataBarStackSize

public int DataBarStackSize { get; }

Property Value

int

ExtractedDocument

public GenericDocument ExtractedDocument { get; }

Property Value

GenericDocument

Format

public BarcodeFormat Format { get; }

Property Value

BarcodeFormat

IsGS1CompositePart

public bool IsGS1CompositePart { get; }

Property Value

bool

IsGS1Message

public bool IsGS1Message { get; }

Property Value

bool

IsUpsideDown

public bool IsUpsideDown { get; }

Property Value

bool

Quad

public IList<Point> Quad { get; }

Property Value

IList<Point>

QuadNormalized

public IList<PointF> QuadNormalized { get; }

Property Value

IList<PointF>

SizeScore

public double SizeScore { get; }

Property Value

double

SourceImage

public ImageRef SourceImage { get; }

Property Value

ImageRef

Text

public string Text { get; }

Property Value

string

UpcEanExtension

public string UpcEanExtension { get; }

Property Value

string

Methods

Close()

Closes this resource, relinquishing any underlying resources.

[Register("close", "()V", "")]
public void Close()

Remarks

Java documentation for

java.lang.AutoCloseable.close()
.

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.

Exceptions

Exception

Component1()

[Register("component1", "()Ljava/lang/String;", "")]
public string Component1()

Returns

string

Component10()

[Register("component10", "()Z", "")]
public bool Component10()

Returns

bool

Component11()

[Register("component11", "()I", "")]
public int Component11()

Returns

int

Component12()

[Register("component12", "()D", "")]
public double Component12()

Returns

double

Component13()

[Register("component13", "()Lio/scanbot/sdk/genericdocument/entity/GenericDocument;", "")]
public GenericDocument Component13()

Returns

GenericDocument

Component2()

[Register("component2", "()Lio/scanbot/sdk/barcode/BarcodeFormat;", "")]
public BarcodeFormat Component2()

Returns

BarcodeFormat

Component3()

[Register("component3", "()Ljava/util/List;", "")]
public IList<Point> Component3()

Returns

IList<Point>

Component4()

[Register("component4", "()Ljava/util/List;", "")]
public IList<PointF> Component4()

Returns

IList<PointF>

Component5()

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

Returns

bool

Component6()

[Register("component6", "()Lio/scanbot/sdk/core/ImageRef;", "")]
public ImageRef Component6()

Returns

ImageRef

Component7()

[Register("component7", "()[B", "")]
public byte[] Component7()

Returns

byte[]

Component8()

[Register("component8", "()Ljava/lang/String;", "")]
public string Component8()

Returns

string

Component9()

[Register("component9", "()Z", "")]
public bool Component9()

Returns

bool

Copy(string, BarcodeFormat, IList<Point>, IList<PointF>, bool, ImageRef, byte[], string, bool, bool, int, double, GenericDocument)

[Register("copy", "(Ljava/lang/String;Lio/scanbot/sdk/barcode/BarcodeFormat;Ljava/util/List;Ljava/util/List;ZLio/scanbot/sdk/core/ImageRef;[BLjava/lang/String;ZZIDLio/scanbot/sdk/genericdocument/entity/GenericDocument;)Lio/scanbot/sdk/barcode/BarcodeItem;", "")]
public BarcodeItem Copy(string text, BarcodeFormat format, IList<Point> quad, IList<PointF> quadNormalized, bool isUpsideDown, ImageRef sourceImage, byte[] rawBytes, string upcEanExtension, bool isGS1Message, bool isGS1CompositePart, int dataBarStackSize, double sizeScore, GenericDocument extractedDocument)

Parameters

text string
format BarcodeFormat
quad IList<Point>
quadNormalized IList<PointF>
isUpsideDown bool
sourceImage ImageRef
rawBytes byte[]
upcEanExtension string
isGS1Message bool
isGS1CompositePart bool
dataBarStackSize int
sizeScore double
extractedDocument GenericDocument

Returns

BarcodeItem

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.

GetRawBytes()

[Register("getRawBytes", "()[B", "")]
public byte[] GetRawBytes()

Returns

byte[]

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.