BarcodeItemErrorState

data class BarcodeItemErrorState(var title: StyledText = StyledText( text = "Connection Error!", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), var subtitle: StyledText = StyledText( text = "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.", color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) ), var retryButton: ButtonConfiguration = ButtonConfiguration( ), var cancelButton: ButtonConfiguration = ButtonConfiguration( ))

Configuration of the the mapper's error dialog.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(title: StyledText = StyledText( text = "Connection Error!", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), subtitle: StyledText = StyledText( text = "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.", color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) ), retryButton: ButtonConfiguration = ButtonConfiguration( ), cancelButton: ButtonConfiguration = ButtonConfiguration( ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration of the cancel button.

Link copied to clipboard

Configuration of the retry button.

Link copied to clipboard

Error message.

Link copied to clipboard

Title displayed above the error message.

Functions

Link copied to clipboard
fun toJson(): JsonObject