Table of Contents

Class BarcodeItem

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

Constructors

BarcodeItem(BarcodeFormat, int, string, string, byte[], GenericDocument)

[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeFormat;ILjava/lang/String;Ljava/lang/String;[BLio/scanbot/genericdocument/entity/GenericDocument;)V", "")]
public BarcodeItem(BarcodeFormat type, int count, string text, string textWithExtension, byte[] rawBytes, GenericDocument parsedDocument)

Parameters

type BarcodeFormat
count int
text string
textWithExtension string
rawBytes byte[]
parsedDocument GenericDocument

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>

Properties

Count

public int Count { get; }

Property Value

int

Creator

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

Property Value

IParcelableCreator

ParsedDocument

public GenericDocument ParsedDocument { get; }

Property Value

GenericDocument

RawBytes

public byte[] RawBytes { get; }

Property Value

byte[]

Text

public string Text { get; }

Property Value

string

TextWithExtension

public string TextWithExtension { get; }

Property Value

string

Type

public BarcodeFormat Type { get; }

Property Value

BarcodeFormat

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeFormat;", "")]
public BarcodeFormat Component1()

Returns

BarcodeFormat

Component2()

[Register("component2", "()I", "")]
public int Component2()

Returns

int

Component3()

[Register("component3", "()Ljava/lang/String;", "")]
public string Component3()

Returns

string

Component4()

[Register("component4", "()Ljava/lang/String;", "")]
public string Component4()

Returns

string

Component5()

[Register("component5", "()[B", "")]
public byte[] Component5()

Returns

byte[]

Component6()

[Register("component6", "()Lio/scanbot/genericdocument/entity/GenericDocument;", "")]
public GenericDocument Component6()

Returns

GenericDocument

Copy(BarcodeFormat, int, string, string, byte[], GenericDocument)

[Register("copy", "(Lio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeFormat;ILjava/lang/String;Ljava/lang/String;[BLio/scanbot/genericdocument/entity/GenericDocument;)Lio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeItem;", "")]
public BarcodeItem Copy(BarcodeFormat type, int count, string text, string textWithExtension, byte[] rawBytes, GenericDocument parsedDocument)

Parameters

type BarcodeFormat
count int
text string
textWithExtension string
rawBytes byte[]
parsedDocument 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()

[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()

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.