Table of Contents

Class GenericDocumentScanningSession

Namespace
IO.Scanbot.Sdk.UI.View.Genericdocument
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/view/genericdocument/GenericDocumentScanningSession", DoNotGenerateAcw = true)]
public sealed class GenericDocumentScanningSession : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
GenericDocumentScanningSession
Implements
Inherited Members

Constructors

GenericDocumentScanningSession(IGenericDocumentRecognizer)

[Register(".ctor", "(Lio/scanbot/sdk/genericdocument/GenericDocumentRecognizer;)V", "")]
public GenericDocumentScanningSession(IGenericDocumentRecognizer genericDocumentRecognizer)

Parameters

genericDocumentRecognizer IGenericDocumentRecognizer

Fields

HighConfidenceValue

[Register("HIGH_CONFIDENCE_VALUE")]
public const double HighConfidenceValue = 0.9

Field Value

double

ModerateConfidenceValue

[Register("MODERATE_CONFIDENCE_VALUE")]
public const double ModerateConfidenceValue = 0.5

Field Value

double

ZeroConfidenceValue

[Register("ZERO_CONFIDENCE_VALUE")]
public const double ZeroConfidenceValue = 0

Field Value

double

Properties

AllDocuments

public ICollection<GenericDocument> AllDocuments { get; }

Property Value

ICollection<GenericDocument>

Methods

Clear()

[Register("clear", "()V", "")]
public void Clear()

ObserveDocumentRecognitionResults()

[Register("observeDocumentRecognitionResults", "()Lkotlinx/coroutines/flow/SharedFlow;", "")]
public ISharedFlow ObserveDocumentRecognitionResults()

Returns

ISharedFlow

ObserveScanReadyState()

[Register("observeScanReadyState", "()Lkotlinx/coroutines/flow/StateFlow;", "")]
public IStateFlow ObserveScanReadyState()

Returns

IStateFlow

ObserveScanningPausedState()

[Register("observeScanningPausedState", "()Lkotlinx/coroutines/flow/StateFlow;", "")]
public IStateFlow ObserveScanningPausedState()

Returns

IStateFlow

PushNewDocumentRecognitionResult(GenericDocumentRecognitionResult)

[Register("pushNewDocumentRecognitionResult", "(Lio/scanbot/sdk/genericdocument/GenericDocumentRecognitionResult;)V", "")]
public void PushNewDocumentRecognitionResult(GenericDocumentRecognitionResult result)

Parameters

result GenericDocumentRecognitionResult

PushScanReadyState(bool)

[Register("pushScanReadyState", "(Z)V", "")]
public void PushScanReadyState(bool ready)

Parameters

ready bool

PushScanningPausedState(bool)

[Register("pushScanningPausedState", "(Z)V", "")]
public void PushScanningPausedState(bool opened)

Parameters

opened bool