Class BarcodeItemErrorState
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BarcodeItemErrorState implements Parcelable
Configuration of the the mapper's error dialog.
-
-
Field Summary
Fields Modifier and Type Field Description private StyledText
title
private StyledText
subtitle
private ButtonConfiguration
retryButton
private ButtonConfiguration
cancelButton
-
Constructor Summary
Constructors Constructor Description BarcodeItemErrorState(Map<String, Object> source)
BarcodeItemErrorState(JSONObject json)
BarcodeItemErrorState(StyledText title, StyledText subtitle, ButtonConfiguration retryButton, ButtonConfiguration cancelButton)
-
Method Summary
Modifier and Type Method Description final StyledText
getTitle()
Title displayed above the error message. final Unit
setTitle(StyledText title)
Title displayed above the error message. final StyledText
getSubtitle()
Error message. final Unit
setSubtitle(StyledText subtitle)
Error message. final ButtonConfiguration
getRetryButton()
Configuration of the retry button. final Unit
setRetryButton(ButtonConfiguration retryButton)
Configuration of the retry button. final ButtonConfiguration
getCancelButton()
Configuration of the cancel button. final Unit
setCancelButton(ButtonConfiguration cancelButton)
Configuration of the cancel button. final JSONObject
toJson()
final static BarcodeItemErrorState
default()
-
-
Constructor Detail
-
BarcodeItemErrorState
BarcodeItemErrorState(JSONObject json)
-
BarcodeItemErrorState
BarcodeItemErrorState(StyledText title, StyledText subtitle, ButtonConfiguration retryButton, ButtonConfiguration cancelButton)
-
-
Method Detail
-
getTitle
final StyledText getTitle()
Title displayed above the error message.
-
setTitle
final Unit setTitle(StyledText title)
Title displayed above the error message.
-
getSubtitle
final StyledText getSubtitle()
Error message.
-
setSubtitle
final Unit setSubtitle(StyledText subtitle)
Error message.
-
getRetryButton
final ButtonConfiguration getRetryButton()
Configuration of the retry button.
-
setRetryButton
final Unit setRetryButton(ButtonConfiguration retryButton)
Configuration of the retry button.
-
getCancelButton
final ButtonConfiguration getCancelButton()
Configuration of the cancel button.
-
setCancelButton
final Unit setCancelButton(ButtonConfiguration cancelButton)
Configuration of the cancel button.
-
toJson
final JSONObject toJson()
-
default
final static BarcodeItemErrorState default()
-
-
-
-