Class GenericDocument
- Namespace
- IO.Scanbot.Sdk.Genericdocument.Entity
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class GenericDocument : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable, IAutoCloseable
- Inheritance
-
GenericDocument
- Implements
-
Constructors
GenericDocument(GenericDocumentType, IList<Field>, IList<GenericDocument>, IList<PointF>, IList<PointF>, ImageRef, double, double)
public GenericDocument(GenericDocumentType type, IList<Field> fields, IList<GenericDocument> children, IList<PointF> quad, IList<PointF> quadInRoot, ImageRef crop, double confidence, double confidenceWeight)
Parameters
type
GenericDocumentType
fields
IList<Field>
children
IList<GenericDocument>
quad
IList<PointF>
quadInRoot
IList<PointF>
crop
ImageRef
confidence
double
confidenceWeight
double
GenericDocument(JSONObject)
public GenericDocument(JSONObject json)
Parameters
json
JSONObject
GenericDocument(IDictionary<string, Object>)
public GenericDocument(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
Properties
Children
public IList<GenericDocument> Children { get; }
Property Value
- IList<GenericDocument>
Confidence
public double Confidence { get; }
Property Value
- double
ConfidenceWeight
public double ConfidenceWeight { get; }
Property Value
- double
Creator
public static IParcelableCreator Creator { get; }
Property Value
- IParcelableCreator
Crop
public ImageRef Crop { get; }
Property Value
- ImageRef
Fields
public IList<Field> Fields { get; }
Property Value
- IList<Field>
Quad
public IList<PointF> Quad { get; }
Property Value
- IList<PointF>
QuadInRoot
public IList<PointF> QuadInRoot { get; }
Property Value
- IList<PointF>
Type
public GenericDocumentType Type { get; }
Property Value
- GenericDocumentType
Methods
Close()
Component1()
public GenericDocumentType Component1()
Returns
- GenericDocumentType
Component2()
public IList<Field> Component2()
Returns
- IList<Field>
Component3()
public IList<GenericDocument> Component3()
Returns
- IList<GenericDocument>
Component4()
public IList<PointF> Component4()
Returns
- IList<PointF>
Component5()
public IList<PointF> Component5()
Returns
- IList<PointF>
Component6()
public ImageRef Component6()
Returns
- ImageRef
Component7()
public double Component7()
Returns
- double
Component8()
public double Component8()
Returns
- double
Copy(GenericDocumentType, IList<Field>, IList<GenericDocument>, IList<PointF>, IList<PointF>, ImageRef, double, double)
public GenericDocument Copy(GenericDocumentType type, IList<Field> fields, IList<GenericDocument> children, IList<PointF> quad, IList<PointF> quadInRoot, ImageRef crop, double confidence, double confidenceWeight)
Parameters
type
GenericDocumentType
fields
IList<Field>
children
IList<GenericDocument>
quad
IList<PointF>
quadInRoot
IList<PointF>
crop
ImageRef
confidence
double
confidenceWeight
double
Returns
- GenericDocument
DescribeContents()
public int DescribeContents()
Returns
- int
ToJson(ToJsonConfiguration)
public JSONObject ToJson(ToJsonConfiguration config)
Parameters
config
ToJsonConfiguration
Returns
- JSONObject
WriteToParcel(Parcel, ParcelableWriteFlags)
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)
Parameters
out
Parcel
flags
ParcelableWriteFlags