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
boolToastEnabled { 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
stringTargetModeEnabledMessage { 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
stringTargetModeDisabledMessage { 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
stringContinuousModeEnabledMessage { 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
stringContinuousModeDisabledMessage { 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
stringScanPausedMessage { 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
stringZoomedInMessage { 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
stringZoomedOutMessage { 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
stringTorchEnabledMessage { 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
stringTorchDisabledMessage { 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
stringUserFacingCameraEnabledMessage { 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
stringWorldFacingCameraEnabledMessage { 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.