SparkScan Toast Settings

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

SparkScanToastSettings
class SparkScanToastSettings

Added in version 6.1.0

SparkScanToastSettings()
SparkScanToastSettings(bool toastEnabled, int toastBackgroundColor, int toastTextColor, string targetModeEnabledMessage, string targetModeDisabledMessage, string continuousModeEnabledMessage, string continuousModeDisabledMessage, string cameraTimeoutMessage)

Added in version 6.18.0

Constructs a new SparkScan toast settings to use when creating an instance of the SparkScanViewSettings.

SparkScanToastSettings()
SparkScanToastSettings()

Added in version 6.18.0

Constructs a new SparkScan toast settings to use when creating an instance of the SparkScanViewSettings.

ToastEnabled
bool ToastEnabled { get;set; }

Added in version 6.18.0

Should toasts be shown or not.

Default is true.

ToastBackgroundColor
int ToastBackgroundColor { get;set; }

Added in version 6.18.0

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

Default is null.

ToastTextColor
int ToastTextColor { get;set; }

Added in version 6.18.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.18.0

Text of the toast when target mode enabled.

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

TargetModeDisabledMessage
string TargetModeDisabledMessage { get;set; }

Added in version 6.18.0

Text of the toast when target mode disabled.

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

ContinuousModeEnabledMessage
string ContinuousModeEnabledMessage { get;set; }

Added in version 6.18.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.

ContinuousModeDisabledMessage
string ContinuousModeDisabledMessage { get;set; }

Added in version 6.18.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.

CameraTimeoutMessage
string CameraTimeoutMessage { get;set; }

Added in version 6.18.0

Text of the toast when mini preview is hidden due to a timeout to save battery.

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