Table of Contents

Class LicensePlateScannerConfiguration

Namespace
ScanbotSDK.MAUI.LicensePlate
Assembly
DocumentSDK.MAUI.dll
public sealed class LicensePlateScannerConfiguration
Inheritance
LicensePlateScannerConfiguration
Inherited Members

Properties

CameraModule

Set supported camera module. Optional.By default is [CameraModule.Back] The enum type [CameraModule.BackWidest] is iOS only, It will be considered [CameraModule.Back] for Android.

public CameraModule? CameraModule { get; set; }

Property Value

CameraModule?

CameraOverlayColor

Background color outside of the finder window.

public Color CameraOverlayColor { get; set; }

Property Value

Color

CameraPreviewMode

Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only

public CameraPreviewMode? CameraPreviewMode { get; set; }

Property Value

CameraPreviewMode?

CancelButtonTitle

Whether the cancel button is hidden or not.

public string CancelButtonTitle { get; set; }

Property Value

string

ConfirmationDialogConfiguration

The configuration for a confirmation dialog after a License Plate has been scanned. If null, No confirmation dialog will be appear.

public ConfirmationDialogConfiguration ConfirmationDialogConfiguration { get; set; }

Property Value

ConfirmationDialogConfiguration

EnableCameraButtonTitle

Title of the button that opens the screen where the user can allow the usage of the camera by the app.

public string EnableCameraButtonTitle { get; set; }

Property Value

string

EnableCameraExplanationText

Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.

public string EnableCameraExplanationText { get; set; }

Property Value

string

FinderLineColor

Color of the finder window's outline

public Color FinderLineColor { get; set; }

Property Value

Color

FinderLineWidth

Thickness of the finder window's outline.

public double? FinderLineWidth { get; set; }

Property Value

double?

FinderTextHint

The string being displayed as description.

public string FinderTextHint { get; set; }

Property Value

string

FinderTextHintColor

The color of the text with user guidance below the finder view.

public Color FinderTextHintColor { get; set; }

Property Value

Color

FlashEnabled

Controls whether the flash should be initially enabled. The default value is FALSE.

public bool? FlashEnabled { get; set; }

Property Value

bool?

MaximumNumberOfAccumulatedFrames

The maximum number of accumulated video frames before the current recognition result is returned. Default is 3.

public int? MaximumNumberOfAccumulatedFrames { get; set; }

Property Value

int?

MinimumNumberOfRequiredFramesWithEqualRecognitionResult

The minimum equal results in accumulated video frames to count as valid. Default is 2.

public int? MinimumNumberOfRequiredFramesWithEqualRecognitionResult { get; set; }

Property Value

int?

OrientationLockMode

Orientation lock mode of the camera: Portrait or Landscape. By default the camera orientation is not locked.

public OrientationLockMode? OrientationLockMode { get; set; }

Property Value

OrientationLockMode?

ScanStrategy

The strategy being used to find a license plate in an image. Default value is SBSDKLicensePlateScannerStrategyML.

public LicensePlateScannerStrategy? ScanStrategy { get; set; }

Property Value

LicensePlateScannerStrategy?

SignificantShakeDelay

Detection will be paused after significant movement, in milliseconds. Default is 1000.

public long? SignificantShakeDelay { get; set; }

Property Value

long?

TopBarBackgroundColor

Background color of the top toolbar.

public Color TopBarBackgroundColor { get; set; }

Property Value

Color

TopBarButtonsColor

Color of the titles of all buttons in the top toolbar.

public Color TopBarButtonsColor { get; set; }

Property Value

Color

TopBarButtonsInactiveColor

Foreground color of the top bar buttons when they are inactive.

public Color TopBarButtonsInactiveColor { get; set; }

Property Value

Color

TouchToFocusEnabled

Controls whether the touch to focus feature should be enabled. Default is true.

public bool? TouchToFocusEnabled { get; set; }

Property Value

bool?

UseButtonsAllCaps

Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.

public bool? UseButtonsAllCaps { get; set; }

Property Value

bool?