Class BarcodeItem
[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
BarcodeFormatcount
inttext
stringtextWithExtension
stringrawBytes
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
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
ParsedDocument
public GenericDocument ParsedDocument { get; }
Property Value
RawBytes
public byte[] RawBytes { get; }
Property Value
- byte[]
Text
public string Text { get; }
Property Value
TextWithExtension
public string TextWithExtension { get; }
Property Value
Type
public BarcodeFormat Type { get; }
Property Value
Methods
Component1()
[Register("component1", "()Lio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeFormat;", "")]
public BarcodeFormat Component1()
Returns
Component2()
[Register("component2", "()I", "")]
public int Component2()
Returns
Component3()
[Register("component3", "()Ljava/lang/String;", "")]
public string Component3()
Returns
Component4()
[Register("component4", "()Ljava/lang/String;", "")]
public string Component4()
Returns
Component5()
[Register("component5", "()[B", "")]
public byte[] Component5()
Returns
- byte[]
Component6()
[Register("component6", "()Lio/scanbot/genericdocument/entity/GenericDocument;", "")]
public GenericDocument Component6()
Returns
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
BarcodeFormatcount
inttext
stringtextWithExtension
stringrawBytes
byte[]parsedDocument
GenericDocument
Returns
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
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
GetRawBytes()
[Register("getRawBytes", "()[B", "")]
public byte[] GetRawBytes()
Returns
- byte[]
ToJson()
[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()
Returns
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
Parcelflags
ParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE
.
Remarks
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the