SparkScan Toast Settings

Defined under the namespace Scandit.Datacapture.Barcode.Spark.Ui

SparkScanToastSettings
class SparkScanToastSettings

Added in version 6.19.0

toastEnabled
toastEnabled: boolean

Added in version 6.19.0

Should toasts be shown or not.

Default is true.

toastBackgroundColor
toastBackgroundColor: Color | null

Added in version 6.19.0

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

Default is null.

toastTextColor
toastTextColor: Color | null

Added in version 6.19.0

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

Default is null.

targetModeEnabledMessage
targetModeEnabledMessage: string | null

Added in version 6.19.0

Text of the toast when target mode enabled.

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

targetModeDisabledMessage
targetModeDisabledMessage: string | null

Added in version 6.19.0

Text of the toast when target mode disabled.

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

continuousModeEnabledMessage
continuousModeEnabledMessage: string | null

Added in version 6.19.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
continuousModeDisabledMessage: string | null

Added in version 6.19.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
cameraTimeoutMessage: string | null

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