SparkScan Toast Settings

Defined in namespace Scandit.DataCapture.Barcode.Spark.UI

SparkScanToastSettings
class SparkScanToastSettings : IDisposable

Added in version 6.22.0

SparkScanToastSettings()
SparkScanToastSettings()

Added in version 6.22.0

Constructs a new SparkScan toast settings with default values loaded from native. Use this constructor when you want to use the platform’s default toast configuration. For Capacitor, Cordova, and React Native, use the parameterized constructor with no arguments instead.

ToastEnabled
bool ToastEnabled { get;set; }

Added in version 6.22.0

Should toasts be shown or not.

Default is true.

ToastBackgroundColor
Color ToastBackgroundColor { get;set; }

Added in version 6.22.0

Background color of the toast. If this property is null, a default color will be used.

Default is null.

ToastTextColor
Color ToastTextColor { get;set; }

Added in version 6.22.0

Text color of the toast. If this property is null, a default color will be used.

Default is null.

TargetModeEnabledMessage
string TargetModeEnabledMessage { get;set; }

Added in version 6.22.0

Text of the toast when target mode enabled.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.

TargetModeDisabledMessage
string TargetModeDisabledMessage { get;set; }

Added in version 6.22.0

Text of the toast when target mode disabled.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.

ContinuousModeEnabledMessage
string ContinuousModeEnabledMessage { get;set; }

Added in version 6.22.0

Text of the toast when SparkScanScanningBehavior.Continuous capturing mode enabled.

Default is null. If this property is null, a default message will be shown.

If this property is an empty string, the toast will not be shown.

ContinuousModeDisabledMessage
string ContinuousModeDisabledMessage { get;set; }

Added in version 6.22.0

Text of the toast when SparkScanScanningBehavior.Continuous capturing mode disabled.

Default is null. If this property is null, a default message will be shown.

If this property is an empty string, the toast will not be shown.

ScanPausedMessage
string ScanPausedMessage { get;set; }

Added in version 6.23.0

Text of the toast when SparkScanPreviewBehavior.Persistent capturing mode is enabled and scanning is paused.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.

ZoomedInMessage
string ZoomedInMessage { get;set; }

Added in version 6.23.0

Text of the toast when zooming in.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.

ZoomedOutMessage
string ZoomedOutMessage { get;set; }

Added in version 6.23.0

Text of the toast when zooming out.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.

TorchEnabledMessage
string TorchEnabledMessage { get;set; }

Added in version 6.23.0

Text of the toast when torch is enabled.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.

TorchDisabledMessage
string TorchDisabledMessage { get;set; }

Added in version 6.23.0

Text of the toast when torch is disabled.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.

UserFacingCameraEnabledMessage
string UserFacingCameraEnabledMessage { get;set; }

Added in version 6.24.0

Text of the toast when user facing camera is enabled.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.

WorldFacingCameraEnabledMessage
string WorldFacingCameraEnabledMessage { get;set; }

Added in version 6.24.0

Text of the toast when world facing camera is enabled.

Default is null. If this property is null, a default message will be shown. If this property is an empty string, the toast will not be shown.