Class BarcodeItemErrorState
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BarcodeItemErrorState implements Parcelable
Configuration of the mapper's error dialog.
-
-
Field Summary
Fields Modifier and Type Field Description private StyledTexttitleprivate StyledTextsubtitleprivate ButtonConfigurationretryButtonprivate ButtonConfigurationcancelButton
-
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 StyledTextgetTitle()Title displayed above the error message. final UnitsetTitle(StyledText title)Title displayed above the error message. final StyledTextgetSubtitle()Error message. final UnitsetSubtitle(StyledText subtitle)Error message. final ButtonConfigurationgetRetryButton()Configuration of the retry button. final UnitsetRetryButton(ButtonConfiguration retryButton)Configuration of the retry button. final ButtonConfigurationgetCancelButton()Configuration of the cancel button. final UnitsetCancelButton(ButtonConfiguration cancelButton)Configuration of the cancel button. final JSONObjecttoJson(ToJsonConfiguration config)final BarcodeItemErrorStateclone()final static BarcodeItemErrorStatedefault()-
-
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(ToJsonConfiguration config)
-
clone
final BarcodeItemErrorState clone()
-
default
final static BarcodeItemErrorState default()
-
-
-
-