Table of Contents

Class DocumentScannerConfiguration

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

Constructors

DocumentScannerConfiguration()

[Register(".ctor", "()V", "")]
public DocumentScannerConfiguration()

Properties

Config

public DocumentScannerJsonConfiguration Config { get; }

Property Value

DocumentScannerJsonConfiguration

NativeParams

public DocumentScannerNativeConfiguration NativeParams { get; }

Property Value

DocumentScannerNativeConfiguration

Methods

EnableHardwareSnapButton(int)

[Register("enableHardwareSnapButton", "(I)V", "")]
public void EnableHardwareSnapButton(int key)

Parameters

key int

SetAcceptedAngleScore(double)

[Register("setAcceptedAngleScore", "(D)V", "")]
public void SetAcceptedAngleScore(double acceptedAngleScore)

Parameters

acceptedAngleScore double

SetAcceptedBrightnessThreshold(double)

[Register("setAcceptedBrightnessThreshold", "(D)V", "")]
public void SetAcceptedBrightnessThreshold(double acceptedBrightnessThreshold)

Parameters

acceptedBrightnessThreshold double

SetAcceptedSizeScore(double)

[Register("setAcceptedSizeScore", "(D)V", "")]
public void SetAcceptedSizeScore(double acceptedSizeScore)

Parameters

acceptedSizeScore double

SetAccessibilityConfiguration(DocumentScannerAccessibilityConfiguration)

[Register("setAccessibilityConfiguration", "(Lio/scanbot/sdk/ui/view/camera/configuration/DocumentScannerAccessibilityConfiguration;)V", "")]
public void SetAccessibilityConfiguration(DocumentScannerAccessibilityConfiguration accessibilityConfiguration)

Parameters

accessibilityConfiguration DocumentScannerAccessibilityConfiguration

SetAutoSnappingButtonHidden(bool)

[Register("setAutoSnappingButtonHidden", "(Z)V", "")]
public void SetAutoSnappingButtonHidden(bool autoSnappingButtonHidden)

Parameters

autoSnappingButtonHidden bool

SetAutoSnappingButtonTitle(string)

[Register("setAutoSnappingButtonTitle", "(Ljava/lang/String;)V", "")]
public void SetAutoSnappingButtonTitle(string autoSnappingButtonTitle)

Parameters

autoSnappingButtonTitle string

SetAutoSnappingEnabled(bool)

[Register("setAutoSnappingEnabled", "(Z)V", "")]
public void SetAutoSnappingEnabled(bool autoSnappingEnabled)

Parameters

autoSnappingEnabled bool

SetAutoSnappingSensitivity(float)

[Register("setAutoSnappingSensitivity", "(F)V", "")]
public void SetAutoSnappingSensitivity(float autoSnappingSensitivity)

Parameters

autoSnappingSensitivity float

SetBottomBarBackgroundColor(int)

[Register("setBottomBarBackgroundColor", "(I)V", "")]
public void SetBottomBarBackgroundColor(int bottomBarBackgroundColor)

Parameters

bottomBarBackgroundColor int

SetBottomBarButtonsColor(int)

[Register("setBottomBarButtonsColor", "(I)V", "")]
public void SetBottomBarButtonsColor(int bottomBarButtonsColor)

Parameters

bottomBarButtonsColor int

SetCameraBackgroundColor(int)

[Register("setCameraBackgroundColor", "(I)V", "")]
public void SetCameraBackgroundColor(int cameraBackgroundColor)

Parameters

cameraBackgroundColor int

SetCameraModule(CameraModule)

[Register("setCameraModule", "(Lio/scanbot/sdk/camera/CameraModule;)V", "")]
public void SetCameraModule(CameraModule cameraModule)

Parameters

cameraModule CameraModule

SetCameraPreviewMode(CameraPreviewMode)

[Register("setCameraPreviewMode", "(Lio/scanbot/sdk/camera/CameraPreviewMode;)V", "")]
public void SetCameraPreviewMode(CameraPreviewMode cameraPreviewMode)

Parameters

cameraPreviewMode CameraPreviewMode

SetCancelButtonTitle(string)

[Register("setCancelButtonTitle", "(Ljava/lang/String;)V", "")]
public void SetCancelButtonTitle(string cancelButtonTitle)

Parameters

cancelButtonTitle string

SetDelayAfterFocusCompleteMs(long)

[Register("setDelayAfterFocusCompleteMs", "(J)V", "")]
public void SetDelayAfterFocusCompleteMs(long delay)

Parameters

delay long

SetDocumentImageSizeLimit(int, int)

[Register("setDocumentImageSizeLimit", "(II)V", "")]
public void SetDocumentImageSizeLimit(int documentImageHeightLimit, int documentImageWidthLimit)

Parameters

documentImageHeightLimit int
documentImageWidthLimit int

SetDrawPolygonShadows(bool)

[Register("setDrawPolygonShadows", "(Z)V", "")]
public void SetDrawPolygonShadows(bool drawPolygonShadows)

Parameters

drawPolygonShadows bool

SetEnableCameraButtonTitle(string)

[Register("setEnableCameraButtonTitle", "(Ljava/lang/String;)V", "")]
public void SetEnableCameraButtonTitle(string enableCameraButtonTitle)

Parameters

enableCameraButtonTitle string

SetEnableCameraExplanationText(string)

[Register("setEnableCameraExplanationText", "(Ljava/lang/String;)V", "")]
public void SetEnableCameraExplanationText(string enableCameraExplanationText)

Parameters

enableCameraExplanationText string

SetFlashButtonHidden(bool)

[Register("setFlashButtonHidden", "(Z)V", "")]
public void SetFlashButtonHidden(bool flashButtonHidden)

Parameters

flashButtonHidden bool

SetFlashButtonTitle(string)

[Register("setFlashButtonTitle", "(Ljava/lang/String;)V", "")]
public void SetFlashButtonTitle(string flashButtonTitle)

Parameters

flashButtonTitle string

SetFlashEnabled(bool)

[Register("setFlashEnabled", "(Z)V", "")]
public void SetFlashEnabled(bool flashEnabled)

Parameters

flashEnabled bool

SetForceMaxSnappingSize(bool)

[Register("setForceMaxSnappingSize", "(Z)V", "")]
public void SetForceMaxSnappingSize(bool enabled)

Parameters

enabled bool

SetForceUserGuidance(bool)

[Register("setForceUserGuidance", "(Z)V", "")]
public void SetForceUserGuidance(bool enabled)

Parameters

enabled bool

SetIgnoreBadAspectRatio(bool)

[Register("setIgnoreBadAspectRatio", "(Z)V", "")]
public void SetIgnoreBadAspectRatio(bool ignoreBadAspectRatio)

Parameters

ignoreBadAspectRatio bool

SetImageFilterType(ImageFilterType)

[Obsolete("deprecated")]
[Register("setImageFilterType", "(Lio/scanbot/sdk/process/ImageFilterType;)V", "")]
public void SetImageFilterType(ImageFilterType imageFilterType)

Parameters

imageFilterType ImageFilterType

SetImageScale(float)

[Register("setImageScale", "(F)V", "")]
public void SetImageScale(float imageScale)

Parameters

imageScale float

SetMaxNumberOfPages(int)

[Register("setMaxNumberOfPages", "(I)V", "")]
public void SetMaxNumberOfPages(int maxNumberOfPages)

Parameters

maxNumberOfPages int

SetMultiPageButtonHidden(bool)

[Register("setMultiPageButtonHidden", "(Z)V", "")]
public void SetMultiPageButtonHidden(bool multiPageButtonHidden)

Parameters

multiPageButtonHidden bool

SetMultiPageButtonTitle(string)

[Register("setMultiPageButtonTitle", "(Ljava/lang/String;)V", "")]
public void SetMultiPageButtonTitle(string multiPageButtonTitle)

Parameters

multiPageButtonTitle string

SetMultiPageEnabled(bool)

[Register("setMultiPageEnabled", "(Z)V", "")]
public void SetMultiPageEnabled(bool multiPageEnabled)

Parameters

multiPageEnabled bool

SetOrientationLockMode(CameraOrientationMode)

[Register("setOrientationLockMode", "(Lio/scanbot/sdk/ui/view/base/configuration/CameraOrientationMode;)V", "")]
public void SetOrientationLockMode(CameraOrientationMode cameraOrientationMode)

Parameters

cameraOrientationMode CameraOrientationMode

SetPageCounterButtonTitle(string)

[Register("setPageCounterButtonTitle", "(Ljava/lang/String;)V", "")]
public void SetPageCounterButtonTitle(string pageCounterButtonTitle)

Parameters

pageCounterButtonTitle string

SetParametricFilter(ParametricFilter)

[Register("setParametricFilter", "(Lio/scanbot/imagefilters/ParametricFilter;)V", "")]
public void SetParametricFilter(ParametricFilter parametricFilter)

Parameters

parametricFilter ParametricFilter

SetPhotoQualityPrioritization(CapturePhotoQualityPrioritization)

[Register("setPhotoQualityPrioritization", "(Lio/scanbot/sdk/ui/view/camera/configuration/json/CapturePhotoQualityPrioritization;)V", "")]
public void SetPhotoQualityPrioritization(CapturePhotoQualityPrioritization value)

Parameters

value CapturePhotoQualityPrioritization

SetPolygonAutoSnapProgressColor(int)

[Register("setPolygonAutoSnapProgressColor", "(I)V", "")]
public void SetPolygonAutoSnapProgressColor(int polygonAutoSnapProgressColor)

Parameters

polygonAutoSnapProgressColor int

SetPolygonAutoSnapProgressEnabled(bool)

[Register("setPolygonAutoSnapProgressEnabled", "(Z)V", "")]
public void SetPolygonAutoSnapProgressEnabled(bool enabled)

Parameters

enabled bool

SetPolygonAutoSnapProgressLineWidth(int)

[Register("setPolygonAutoSnapProgressLineWidth", "(I)V", "")]
public void SetPolygonAutoSnapProgressLineWidth(int polygonProgressLineWidth)

Parameters

polygonProgressLineWidth int

SetPolygonBackgroundColor(int)

[Register("setPolygonBackgroundColor", "(I)V", "")]
public void SetPolygonBackgroundColor(int polygonBackgroundColor)

Parameters

polygonBackgroundColor int

SetPolygonBackgroundColorOK(int)

[Register("setPolygonBackgroundColorOK", "(I)V", "")]
public void SetPolygonBackgroundColorOK(int polygonBackgroundColorOK)

Parameters

polygonBackgroundColorOK int

SetPolygonColor(int)

[Register("setPolygonColor", "(I)V", "")]
public void SetPolygonColor(int polygonColor)

Parameters

polygonColor int

SetPolygonColorOK(int)

[Register("setPolygonColorOK", "(I)V", "")]
public void SetPolygonColorOK(int polygonColorOK)

Parameters

polygonColorOK int

SetPolygonCornerRadius(int)

[Register("setPolygonCornerRadius", "(I)V", "")]
public void SetPolygonCornerRadius(int polygonCornerRadius)

Parameters

polygonCornerRadius int

SetPolygonLineWidth(int)

[Register("setPolygonLineWidth", "(I)V", "")]
public void SetPolygonLineWidth(int polygonLineWidth)

Parameters

polygonLineWidth int

SetRequiredAspectRatios(IList<AspectRatio>)

[Register("setRequiredAspectRatios", "(Ljava/util/ArrayList;)V", "")]
public void SetRequiredAspectRatios(IList<AspectRatio> requiredAspectRatios)

Parameters

requiredAspectRatios IList<AspectRatio>

SetShutterButtonAutoInnerColor(int)

[Register("setShutterButtonAutoInnerColor", "(I)V", "")]
public void SetShutterButtonAutoInnerColor(int shutterButtonAutoInnerColor)

Parameters

shutterButtonAutoInnerColor int

SetShutterButtonAutoOuterColor(int)

[Register("setShutterButtonAutoOuterColor", "(I)V", "")]
public void SetShutterButtonAutoOuterColor(int shutterButtonAutoOuterColor)

Parameters

shutterButtonAutoOuterColor int

SetShutterButtonHidden(bool)

[Register("setShutterButtonHidden", "(Z)V", "")]
public void SetShutterButtonHidden(bool shutterButtonHidden)

Parameters

shutterButtonHidden bool

SetShutterButtonManualInnerColor(int)

[Register("setShutterButtonManualInnerColor", "(I)V", "")]
public void SetShutterButtonManualInnerColor(int shutterButtonManualInnerColor)

Parameters

shutterButtonManualInnerColor int

SetShutterButtonManualOuterColor(int)

[Register("setShutterButtonManualOuterColor", "(I)V", "")]
public void SetShutterButtonManualOuterColor(int shutterButtonManualOuterColor)

Parameters

shutterButtonManualOuterColor int

SetShutterSoundEnabled(bool)

[Register("setShutterSoundEnabled", "(Z)V", "")]
public void SetShutterSoundEnabled(bool shutterSoundEnabled)

Parameters

shutterSoundEnabled bool

SetTextHintBadAngles(string)

[Register("setTextHintBadAngles", "(Ljava/lang/String;)V", "")]
public void SetTextHintBadAngles(string textBadAngles)

Parameters

textBadAngles string

SetTextHintBadAspectRatio(string)

[Register("setTextHintBadAspectRatio", "(Ljava/lang/String;)V", "")]
public void SetTextHintBadAspectRatio(string textHintBadAspectRatio)

Parameters

textHintBadAspectRatio string

SetTextHintNothingDetected(string)

[Register("setTextHintNothingDetected", "(Ljava/lang/String;)V", "")]
public void SetTextHintNothingDetected(string textHintNothingDetected)

Parameters

textHintNothingDetected string

SetTextHintOK(string)

[Register("setTextHintOK", "(Ljava/lang/String;)V", "")]
public void SetTextHintOK(string textHintOK)

Parameters

textHintOK string

SetTextHintTooDark(string)

[Register("setTextHintTooDark", "(Ljava/lang/String;)V", "")]
public void SetTextHintTooDark(string textHintTooDark)

Parameters

textHintTooDark string

SetTextHintTooNoisy(string)

[Register("setTextHintTooNoisy", "(Ljava/lang/String;)V", "")]
public void SetTextHintTooNoisy(string textHintTooNoisy)

Parameters

textHintTooNoisy string

SetTextHintTooSmall(string)

[Register("setTextHintTooSmall", "(Ljava/lang/String;)V", "")]
public void SetTextHintTooSmall(string textHintTooSmall)

Parameters

textHintTooSmall string

SetTopBarBackgroundColor(int)

[Register("setTopBarBackgroundColor", "(I)V", "")]
public void SetTopBarBackgroundColor(int topBarBackgroundColor)

Parameters

topBarBackgroundColor int

SetTopBarButtonsActiveColor(int)

[Register("setTopBarButtonsActiveColor", "(I)V", "")]
public void SetTopBarButtonsActiveColor(int topBarButtonsActiveColor)

Parameters

topBarButtonsActiveColor int

SetTopBarButtonsInactiveColor(int)

[Register("setTopBarButtonsInactiveColor", "(I)V", "")]
public void SetTopBarButtonsInactiveColor(int topBarButtonsInactiveColor)

Parameters

topBarButtonsInactiveColor int

SetTouchToFocusEnabled(bool)

[Register("setTouchToFocusEnabled", "(Z)V", "")]
public void SetTouchToFocusEnabled(bool enabled)

Parameters

enabled bool

SetUseButtonsAllCaps(bool)

[Register("setUseButtonsAllCaps", "(Z)V", "")]
public void SetUseButtonsAllCaps(bool allCaps)

Parameters

allCaps bool

SetUserGuidanceBackgroundColor(int)

[Register("setUserGuidanceBackgroundColor", "(I)V", "")]
public void SetUserGuidanceBackgroundColor(int userGuidanceBackgroundColor)

Parameters

userGuidanceBackgroundColor int

SetUserGuidanceTextColor(int)

[Register("setUserGuidanceTextColor", "(I)V", "")]
public void SetUserGuidanceTextColor(int userGuidanceTextColor)

Parameters

userGuidanceTextColor int