Table of Contents

Interface IGenericDocumentCameraView.IViewModel

Namespace
IO.Scanbot.Sdk.UI.View.Genericdocument
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/view/genericdocument/IGenericDocumentCameraView$ViewModel", "", "IO.Scanbot.Sdk.UI.View.Genericdocument.IGenericDocumentCameraView/IViewModelInvoker")]
public interface IGenericDocumentCameraView.IViewModel : IJavaObject, IJavaPeerable, IDisposable
Inherited Members

Properties

CameraOpened

IStateFlow CameraOpened { get; }

Property Value

IStateFlow

Flash

IStateFlow Flash { get; }

Property Value

IStateFlow

Scanner

IGenericDocumentRecognizer Scanner { get; }

Property Value

IGenericDocumentRecognizer

ScanningStep

IStateFlow ScanningStep { get; }

Property Value

IStateFlow

StopNewFrames

IStateFlow StopNewFrames { get; }

Property Value

IStateFlow

Methods

DocumentScanned(FrameHandlerResult)

[Register("documentScanned", "(Lio/scanbot/sdk/camera/FrameHandlerResult;)V", "GetDocumentScanned_Lio_scanbot_sdk_camera_FrameHandlerResult_Handler:IO.Scanbot.Sdk.UI.View.Genericdocument.IGenericDocumentCameraView/IViewModelInvoker, DocumentSDK.NET.Droid")]
void DocumentScanned(FrameHandlerResult result)

Parameters

result FrameHandlerResult

OnActivateCameraPermission()

[Register("onActivateCameraPermission", "()V", "GetOnActivateCameraPermissionHandler:IO.Scanbot.Sdk.UI.View.Genericdocument.IGenericDocumentCameraView/IViewModelInvoker, DocumentSDK.NET.Droid")]
void OnActivateCameraPermission()

OnCancelClicked()

[Register("onCancelClicked", "()V", "GetOnCancelClickedHandler:IO.Scanbot.Sdk.UI.View.Genericdocument.IGenericDocumentCameraView/IViewModelInvoker, DocumentSDK.NET.Droid")]
void OnCancelClicked()

OnFlashClicked()

[Register("onFlashClicked", "()V", "GetOnFlashClickedHandler:IO.Scanbot.Sdk.UI.View.Genericdocument.IGenericDocumentCameraView/IViewModelInvoker, DocumentSDK.NET.Droid")]
void OnFlashClicked()

SetAcceptedDocumentTypes(IList<RootDocumentType>)

[Register("setAcceptedDocumentTypes", "(Ljava/util/List;)V", "GetSetAcceptedDocumentTypes_Ljava_util_List_Handler:IO.Scanbot.Sdk.UI.View.Genericdocument.IGenericDocumentCameraView/IViewModelInvoker, DocumentSDK.NET.Droid")]
void SetAcceptedDocumentTypes(IList<RootDocumentType> documentTypes)

Parameters

documentTypes IList<RootDocumentType>

SetSharpnessAcceptanceFactor(float)

[Register("setSharpnessAcceptanceFactor", "(F)V", "GetSetSharpnessAcceptanceFactor_FHandler:IO.Scanbot.Sdk.UI.View.Genericdocument.IGenericDocumentCameraView/IViewModelInvoker, DocumentSDK.NET.Droid")]
void SetSharpnessAcceptanceFactor(float sharpnessAcceptanceFactor)

Parameters

sharpnessAcceptanceFactor float