Table of Contents

Class GenericTextRecognitionResult

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

Constructors

GenericTextRecognitionResult(string, double, IList<GenericTextWordBox>, bool)

[Register(".ctor", "(Ljava/lang/String;DLjava/util/List;Z)V", "")]
public GenericTextRecognitionResult(string rawText, double confidenceValue, IList<GenericTextWordBox> wordBoxes, bool validationSuccessful)

Parameters

rawText string
confidenceValue double
wordBoxes IList<GenericTextWordBox>
validationSuccessful bool

Properties

ConfidenceValue

public double ConfidenceValue { get; }

Property Value

double

Creator

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

Property Value

IParcelableCreator

RawText

public string RawText { get; }

Property Value

string

ValidationSuccessful

public bool ValidationSuccessful { get; }

Property Value

bool

WordBoxes

public IList<GenericTextWordBox> WordBoxes { get; }

Property Value

IList<GenericTextWordBox>

Methods

Component1()

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

Returns

string

Component2()

[Register("component2", "()D", "")]
public double Component2()

Returns

double

Component3()

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

Returns

IList<GenericTextWordBox>

Component4()

[Register("component4", "()Z", "")]
public bool Component4()

Returns

bool

Copy(string, double, IList<GenericTextWordBox>, bool)

[Register("copy", "(Ljava/lang/String;DLjava/util/List;Z)Lio/scanbot/sdk/generictext/GenericTextRecognitionResult;", "")]
public GenericTextRecognitionResult Copy(string rawText, double confidenceValue, IList<GenericTextWordBox> wordBoxes, bool validationSuccessful)

Parameters

rawText string
confidenceValue double
wordBoxes IList<GenericTextWordBox>
validationSuccessful bool

Returns

GenericTextRecognitionResult

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.

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.