SparkScan Toast Settings

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

SparkScanToastSettings
class SparkScanToastSettings

Added in version 6.18.0

Note

The SparkScan Toast APIs are still in beta and may change in future versions of Scandit Data Capture SDK.

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 false.

ToastBackgroundColor
UIColor 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
UIColor 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.