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, byte[], IList<RangeEncoding>, StructuredAppendInfo, BarcodeFormat, IList<Point>, IList<PointF>, IList<Point>, IList<PointF>, bool, ImageRef, string, bool, bool, int, double, GenericDocument, int)

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

Parameters

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

Properties

Creator

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

Property Value

IParcelableCreator

DataBarStackSize

public int DataBarStackSize { get; }

Property Value

int

ExtendedQuad

public IList<Point> ExtendedQuad { get; }

Property Value

IList<Point>

ExtendedQuadNormalized

public IList<PointF> ExtendedQuadNormalized { get; }

Property Value

IList<PointF>

ExtractedDocument

public GenericDocument ExtractedDocument { get; }

Property Value

GenericDocument

Format

public BarcodeFormat Format { get; }

Property Value

BarcodeFormat

GlobalIndex

public int GlobalIndex { get; }

Property Value

int

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>

RawBytesEncodings

public IList<RangeEncoding> RawBytesEncodings { get; }

Property Value

IList<RangeEncoding>

SizeScore

public double SizeScore { get; }

Property Value

double

SourceImage

public ImageRef SourceImage { get; }

Property Value

ImageRef

StructuredAppendInfo

public StructuredAppendInfo StructuredAppendInfo { get; }

Property Value

StructuredAppendInfo

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", "()Lio/scanbot/sdk/core/ImageRef;", "")]
public ImageRef Component11()

Returns

ImageRef

Component12()

[Register("component12", "()Ljava/lang/String;", "")]
public string Component12()

Returns

string

Component13()

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

Returns

bool

Component14()

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

Returns

bool

Component15()

[Register("component15", "()I", "")]
public int Component15()

Returns

int

Component16()

[Register("component16", "()D", "")]
public double Component16()

Returns

double

Component17()

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

Returns

GenericDocument

Component18()

[Register("component18", "()I", "")]
public int Component18()

Returns

int

Component2()

[Register("component2", "()[B", "")]
public byte[] Component2()

Returns

byte[]

Component3()

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

Returns

IList<RangeEncoding>

Component4()

[Register("component4", "()Lio/scanbot/sdk/barcode/StructuredAppendInfo;", "")]
public StructuredAppendInfo Component4()

Returns

StructuredAppendInfo

Component5()

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

Returns

BarcodeFormat

Component6()

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

Returns

IList<Point>

Component7()

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

Returns

IList<PointF>

Component8()

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

Returns

IList<Point>

Component9()

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

Returns

IList<PointF>

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

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

Parameters

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

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.