Table of Contents

Class BarcodeItem

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

Constructors

BarcodeItem(BarcodeItem, BarcodeFormattedData)

[Register(".ctor", "(Lio/scanbot/sdk/barcode/entity/BarcodeItem;Lio/scanbot/sdk/barcode/entity/BarcodeFormattedData;)V", "")]
public BarcodeItem(BarcodeItem item, BarcodeFormattedData formattedData)

Parameters

item BarcodeItem
formattedData BarcodeFormattedData

BarcodeItem(string, byte[], ResultPoint[], BarcodeFormat, GenericDocument, BarcodeFormattedData, Bitmap, IDictionary<BarcodeMetadataKey, string>)

[Register(".ctor", "(Ljava/lang/String;[B[Lio/scanbot/sdk/barcode/entity/ResultPoint;Lio/scanbot/sdk/barcode/entity/BarcodeFormat;Lio/scanbot/genericdocument/entity/GenericDocument;Lio/scanbot/sdk/barcode/entity/BarcodeFormattedData;Landroid/graphics/Bitmap;Ljava/util/Map;)V", "")]
public BarcodeItem(string text, byte[] rawBytes, ResultPoint[] resultPoints, BarcodeFormat format, GenericDocument documentFormat, BarcodeFormattedData formattedData, Bitmap image, IDictionary<BarcodeMetadataKey, string> metadata)

Parameters

text string
rawBytes byte[]
resultPoints ResultPoint[]
format BarcodeFormat
documentFormat GenericDocument
formattedData BarcodeFormattedData
image Bitmap
metadata IDictionary<BarcodeMetadataKey, string>

BarcodeItem(string, byte[], ResultPoint[], BarcodeFormat, GenericDocument, BarcodeFormattedData, IDictionary<BarcodeMetadataKey, string>)

[Register(".ctor", "(Ljava/lang/String;[B[Lio/scanbot/sdk/barcode/entity/ResultPoint;Lio/scanbot/sdk/barcode/entity/BarcodeFormat;Lio/scanbot/genericdocument/entity/GenericDocument;Lio/scanbot/sdk/barcode/entity/BarcodeFormattedData;Ljava/util/Map;)V", "")]
public BarcodeItem(string text, byte[] rawBytes, ResultPoint[] resultPoints, BarcodeFormat format, GenericDocument documentFormat, BarcodeFormattedData formattedData, IDictionary<BarcodeMetadataKey, string> metadata)

Parameters

text string
rawBytes byte[]
resultPoints ResultPoint[]
format BarcodeFormat
documentFormat GenericDocument
formattedData BarcodeFormattedData
metadata IDictionary<BarcodeMetadataKey, string>

BarcodeItem(string, byte[], ResultPoint[], BarcodeFormat, GenericDocument, IDictionary<BarcodeMetadataKey, string>)

[Register(".ctor", "(Ljava/lang/String;[B[Lio/scanbot/sdk/barcode/entity/ResultPoint;Lio/scanbot/sdk/barcode/entity/BarcodeFormat;Lio/scanbot/genericdocument/entity/GenericDocument;Ljava/util/Map;)V", "")]
public BarcodeItem(string text, byte[] rawBytes, ResultPoint[] resultPoints, BarcodeFormat format, GenericDocument documentFormat, IDictionary<BarcodeMetadataKey, string> metadata)

Parameters

text string
rawBytes byte[]
resultPoints ResultPoint[]
format BarcodeFormat
documentFormat GenericDocument
metadata IDictionary<BarcodeMetadataKey, string>

BarcodeItem(string, byte[], ResultPoint[], BarcodeFormat, IDictionary<BarcodeMetadataKey, string>)

[Register(".ctor", "(Ljava/lang/String;[B[Lio/scanbot/sdk/barcode/entity/ResultPoint;Lio/scanbot/sdk/barcode/entity/BarcodeFormat;Ljava/util/Map;)V", "")]
public BarcodeItem(string text, byte[] rawBytes, ResultPoint[] resultPoints, BarcodeFormat format, IDictionary<BarcodeMetadataKey, string> metadata)

Parameters

text string
rawBytes byte[]
resultPoints ResultPoint[]
format BarcodeFormat
metadata IDictionary<BarcodeMetadataKey, string>

BarcodeItem(string, byte[], int, ResultPoint[], BarcodeFormat, GenericDocument, BarcodeFormattedData, Bitmap, IDictionary<BarcodeMetadataKey, string>)

[Register(".ctor", "(Ljava/lang/String;[BI[Lio/scanbot/sdk/barcode/entity/ResultPoint;Lio/scanbot/sdk/barcode/entity/BarcodeFormat;Lio/scanbot/genericdocument/entity/GenericDocument;Lio/scanbot/sdk/barcode/entity/BarcodeFormattedData;Landroid/graphics/Bitmap;Ljava/util/Map;)V", "")]
public BarcodeItem(string text, byte[] rawBytes, int numBits, ResultPoint[] resultPoints, BarcodeFormat barcodeFormat, GenericDocument barcodeDocumentFormat, BarcodeFormattedData formattedData, Bitmap image, IDictionary<BarcodeMetadataKey, string> metadata)

Parameters

text string
rawBytes byte[]
numBits int
resultPoints ResultPoint[]
barcodeFormat BarcodeFormat
barcodeDocumentFormat GenericDocument
formattedData BarcodeFormattedData
image Bitmap
metadata IDictionary<BarcodeMetadataKey, string>

BarcodeItem(string, byte[], int, ResultPoint[], BarcodeFormat, GenericDocument, BarcodeFormattedData, IDictionary<BarcodeMetadataKey, string>)

[Register(".ctor", "(Ljava/lang/String;[BI[Lio/scanbot/sdk/barcode/entity/ResultPoint;Lio/scanbot/sdk/barcode/entity/BarcodeFormat;Lio/scanbot/genericdocument/entity/GenericDocument;Lio/scanbot/sdk/barcode/entity/BarcodeFormattedData;Ljava/util/Map;)V", "")]
public BarcodeItem(string text, byte[] rawBytes, int numBits, ResultPoint[] resultPoints, BarcodeFormat barcodeFormat, GenericDocument formattedResult, BarcodeFormattedData formattedData, IDictionary<BarcodeMetadataKey, string> metadata)

Parameters

text string
rawBytes byte[]
numBits int
resultPoints ResultPoint[]
barcodeFormat BarcodeFormat
formattedResult GenericDocument
formattedData BarcodeFormattedData
metadata IDictionary<BarcodeMetadataKey, string>

Properties

BarcodeFormat

public BarcodeFormat BarcodeFormat { get; }

Property Value

BarcodeFormat

Creator

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

Property Value

IParcelableCreator

FormattedData

public BarcodeFormattedData FormattedData { get; }

Property Value

BarcodeFormattedData

FormattedResult

public GenericDocument FormattedResult { get; }

Property Value

GenericDocument

Image

public Bitmap Image { get; set; }

Property Value

Bitmap

Metadata

public IDictionary<BarcodeMetadataKey, string> Metadata { get; }

Property Value

IDictionary<BarcodeMetadataKey, string>

NumBits

[Obsolete("deprecated")]
public int NumBits { get; }

Property Value

int

Text

public string Text { get; }

Property Value

string

TextWithExtension

public string TextWithExtension { get; }

Property Value

string

Methods

AddResultPoints(ResultPoint[])

[Register("addResultPoints", "([Lio/scanbot/sdk/barcode/entity/ResultPoint;)V", "")]
public void AddResultPoints(ResultPoint[] newPoints)

Parameters

newPoints ResultPoint[]

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[]

GetResultPoints()

[Register("getResultPoints", "()[Lio/scanbot/sdk/barcode/entity/ResultPoint;", "")]
public ResultPoint[] GetResultPoints()

Returns

ResultPoint[]

SetResultPoints(ResultPoint[])

[Register("setResultPoints", "([Lio/scanbot/sdk/barcode/entity/ResultPoint;)V", "")]
public void SetResultPoints(ResultPoint[] value)

Parameters

value ResultPoint[]

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.