SparkScan Toast Settings

Defined in library scandit_datacapture_barcode_spark_ui

SparkScanToastSettings
class SparkScanToastSettings

Added in version 6.20.0

SparkScanToastSettings()
 SparkScanToastSettings()

Added in version 6.20.0

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

toastEnabled
bool toastEnabled

Added in version 6.20.0

Should toasts be shown or not.

Default is true.

toastBackgroundColor
Color? toastBackgroundColor

Added in version 6.20.0

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

Default is null.

toastTextColor
Color? toastTextColor

Added in version 6.20.0

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

Default is null.

targetModeEnabledMessage
String? targetModeEnabledMessage

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

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

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

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

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