Table of Contents

Class DocumentQualityAnalyzerResult

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

Constructors

DocumentQualityAnalyzerResult(JSONObject)

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

Parameters

json JSONObject

DocumentQualityAnalyzerResult(bool, DocumentQuality, Double, Double, IList<Integer>, IList<Integer>, IList<Integer>, ImageRef)

[Register(".ctor", "(ZLio/scanbot/sdk/documentqualityanalyzer/DocumentQuality;Ljava/lang/Double;Ljava/lang/Double;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lio/scanbot/sdk/image/ImageRef;)V", "")]
public DocumentQualityAnalyzerResult(bool documentFound, DocumentQuality quality, Double orientation, Double orientationConfidence, IList<Integer> cumulativeQualityHistogram, IList<Integer> cumulativeContrastHistogram, IList<Integer> cumulativeTextSizeHistogram, ImageRef qualityHeatmap)

Parameters

documentFound bool
quality DocumentQuality
orientation Double
orientationConfidence Double
cumulativeQualityHistogram IList<Integer>
cumulativeContrastHistogram IList<Integer>
cumulativeTextSizeHistogram IList<Integer>
qualityHeatmap ImageRef

DocumentQualityAnalyzerResult(IDictionary<string, Object>)

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

Parameters

source IDictionary<string, Object>

Properties

Creator

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

Property Value

IParcelableCreator

CumulativeContrastHistogram

public IList<Integer> CumulativeContrastHistogram { get; }

Property Value

IList<Integer>

CumulativeQualityHistogram

public IList<Integer> CumulativeQualityHistogram { get; }

Property Value

IList<Integer>

CumulativeTextSizeHistogram

public IList<Integer> CumulativeTextSizeHistogram { get; }

Property Value

IList<Integer>

DocumentFound

public bool DocumentFound { get; }

Property Value

bool

Orientation

public Double Orientation { get; }

Property Value

Double

OrientationConfidence

public Double OrientationConfidence { get; }

Property Value

Double

Quality

public DocumentQuality Quality { get; }

Property Value

DocumentQuality

QualityHeatmap

public ImageRef QualityHeatmap { get; }

Property Value

ImageRef

Methods

Close()

Closes this resource, relinquishing any underlying resources.

[Register("close", "()V", "")]
public void Close()

Remarks

<p>Closes this resource, relinquishing any underlying resources.

This method is invoked automatically on objects managed by the try-with-resources statement.

Java documentation for

java.lang.AutoCloseable.close()
.

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.

Exceptions

Exception

Component1()

[Register("component1", "()Z", "")]
public bool Component1()

Returns

bool

Component2()

[Register("component2", "()Lio/scanbot/sdk/documentqualityanalyzer/DocumentQuality;", "")]
public DocumentQuality Component2()

Returns

DocumentQuality

Component3()

[Register("component3", "()Ljava/lang/Double;", "")]
public Double Component3()

Returns

Double

Component4()

[Register("component4", "()Ljava/lang/Double;", "")]
public Double Component4()

Returns

Double

Component5()

[Register("component5", "()Ljava/util/List;", "")]
public IList<Integer> Component5()

Returns

IList<Integer>

Component6()

[Register("component6", "()Ljava/util/List;", "")]
public IList<Integer> Component6()

Returns

IList<Integer>

Component7()

[Register("component7", "()Ljava/util/List;", "")]
public IList<Integer> Component7()

Returns

IList<Integer>

Component8()

[Register("component8", "()Lio/scanbot/sdk/image/ImageRef;", "")]
public ImageRef Component8()

Returns

ImageRef

Copy(bool, DocumentQuality, Double, Double, IList<Integer>, IList<Integer>, IList<Integer>, ImageRef)

[Register("copy", "(ZLio/scanbot/sdk/documentqualityanalyzer/DocumentQuality;Ljava/lang/Double;Ljava/lang/Double;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lio/scanbot/sdk/image/ImageRef;)Lio/scanbot/sdk/documentqualityanalyzer/DocumentQualityAnalyzerResult;", "")]
public DocumentQualityAnalyzerResult Copy(bool documentFound, DocumentQuality quality, Double orientation, Double orientationConfidence, IList<Integer> cumulativeQualityHistogram, IList<Integer> cumulativeContrastHistogram, IList<Integer> cumulativeTextSizeHistogram, ImageRef qualityHeatmap)

Parameters

documentFound bool
quality DocumentQuality
orientation Double
orientationConfidence Double
cumulativeQualityHistogram IList<Integer>
cumulativeContrastHistogram IList<Integer>
cumulativeTextSizeHistogram IList<Integer>
qualityHeatmap ImageRef

Returns

DocumentQualityAnalyzerResult

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.