Table of Contents

Class TextPatternScannerResult

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

Constructors

TextPatternScannerResult(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public TextPatternScannerResult(JSONObject json)

Parameters

json JSONObject

TextPatternScannerResult(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public TextPatternScannerResult(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

TextPatternScannerResult(string, IList<WordBox>, IList<SymbolBox>, double, bool)

[Register(".ctor", "(Ljava/lang/String;Ljava/util/List;Ljava/util/List;DZ)V", "")]
public TextPatternScannerResult(string rawText, IList<WordBox> wordBoxes, IList<SymbolBox> symbolBoxes, double confidence, bool validationSuccessful)

Parameters

rawText string
wordBoxes IList<WordBox>
symbolBoxes IList<SymbolBox>
confidence double
validationSuccessful bool

Properties

Confidence

public double Confidence { get; }

Property Value

double

Creator

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

Property Value

IParcelableCreator

RawText

public string RawText { get; }

Property Value

string

SymbolBoxes

public IList<SymbolBox> SymbolBoxes { get; }

Property Value

IList<SymbolBox>

ValidationSuccessful

public bool ValidationSuccessful { get; }

Property Value

bool

WordBoxes

public IList<WordBox> WordBoxes { get; }

Property Value

IList<WordBox>

Methods

Component1()

[Register("component1", "()Ljava/lang/String;", "")]
public string Component1()

Returns

string

Component2()

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

Returns

IList<WordBox>

Component3()

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

Returns

IList<SymbolBox>

Component4()

[Register("component4", "()D", "")]
public double Component4()

Returns

double

Component5()

[Register("component5", "()Z", "")]
public bool Component5()

Returns

bool

Copy(string, IList<WordBox>, IList<SymbolBox>, double, bool)

[Register("copy", "(Ljava/lang/String;Ljava/util/List;Ljava/util/List;DZ)Lio/scanbot/sdk/textpattern/TextPatternScannerResult;", "")]
public TextPatternScannerResult Copy(string rawText, IList<WordBox> wordBoxes, IList<SymbolBox> symbolBoxes, double confidence, bool validationSuccessful)

Parameters

rawText string
wordBoxes IList<WordBox>
symbolBoxes IList<SymbolBox>
confidence double
validationSuccessful bool

Returns

TextPatternScannerResult

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

<p>Describe the kinds of special objects contained in this Parcelable

instance's marshaled representation. For example, if the object will include a file descriptor in the output of #writeToParcel(Parcel, int), the return value of this method must include the #CONTENTS_FILE_DESCRIPTOR bit.

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.

ToJson(ToJsonConfiguration)

[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel dest, ParcelableWriteFlags flags)

Parameters

dest Parcel

The Parcel in which the object should be written.

flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Flatten this object in to a Parcel.

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.