Table of Contents

Class GenericDocument

Namespace
IO.Scanbot.Genericdocument.Entity
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/genericdocument/entity/GenericDocument", DoNotGenerateAcw = true)]
public sealed class GenericDocument : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
GenericDocument
Implements
Inherited Members

Constructors

GenericDocument(Type, IList<Field>, IList<GenericDocument>, float, float)

[Register(".ctor", "(Lio/scanbot/genericdocument/entity/GenericDocument$Type;Ljava/util/List;Ljava/util/List;FF)V", "")]
public GenericDocument(GenericDocument.Type type, IList<Field> fields, IList<GenericDocument> children, float confidence, float confidenceWeight)

Parameters

type GenericDocument.Type
fields IList<Field>
children IList<GenericDocument>
confidence float
confidenceWeight float

Properties

Children

public IList<GenericDocument> Children { get; }

Property Value

IList<GenericDocument>

Confidence

public float Confidence { get; }

Property Value

float

ConfidenceWeight

public float ConfidenceWeight { get; }

Property Value

float

Creator

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

Property Value

IParcelableCreator

Fields

public IList<Field> Fields { get; }

Property Value

IList<Field>

Methods

ChildByDocumentType(string)

[Register("childByDocumentType", "(Ljava/lang/String;)Lio/scanbot/genericdocument/entity/GenericDocument;", "")]
public GenericDocument ChildByDocumentType(string name)

Parameters

name string

Returns

GenericDocument

ChildrenByDocumentType(string)

[Register("childrenByDocumentType", "(Ljava/lang/String;)Ljava/util/List;", "")]
public IList<GenericDocument> ChildrenByDocumentType(string name)

Parameters

name string

Returns

IList<GenericDocument>

Component1()

[Register("component1", "()Lio/scanbot/genericdocument/entity/GenericDocument$Type;", "")]
public GenericDocument.Type Component1()

Returns

GenericDocument.Type

Component2()

[Register("component2", "()Ljava/util/List;", "")]
public IList<Field> Component2()

Returns

IList<Field>

Component3()

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

Returns

IList<GenericDocument>

Component4()

[Register("component4", "()F", "")]
public float Component4()

Returns

float

Component5()

[Register("component5", "()F", "")]
public float Component5()

Returns

float

Copy(Type, IList<Field>, IList<GenericDocument>, float, float)

[Register("copy", "(Lio/scanbot/genericdocument/entity/GenericDocument$Type;Ljava/util/List;Ljava/util/List;FF)Lio/scanbot/genericdocument/entity/GenericDocument;", "")]
public GenericDocument Copy(GenericDocument.Type type, IList<Field> fields, IList<GenericDocument> children, float confidence, float confidenceWeight)

Parameters

type GenericDocument.Type
fields IList<Field>
children IList<GenericDocument>
confidence float
confidenceWeight float

Returns

GenericDocument

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.

FieldByTypeName(string)

[Register("fieldByTypeName", "(Ljava/lang/String;)Lio/scanbot/genericdocument/entity/Field;", "")]
public Field FieldByTypeName(string name)

Parameters

name string

Returns

Field

FieldsByTypeName(string)

[Register("fieldsByTypeName", "(Ljava/lang/String;)Ljava/util/List;", "")]
public IList<Field> FieldsByTypeName(string name)

Parameters

name string

Returns

IList<Field>

GetType()

[Register("getType", "()Lio/scanbot/genericdocument/entity/GenericDocument$Type;", "")]
public GenericDocument.Type GetType()

Returns

GenericDocument.Type

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.