Class JsonConfirmationDialogConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class JsonConfirmationDialogConfiguration implements Parcelable
Confirmation Dialog configuration
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanresultWithConfirmationEnabledprivate JsonBarcodeDialogFormatdialogTextFormatprivate JsonDialogStyleconfirmationDialogStyleprivate StringconfirmButtonTitleprivate JsonDialogButtonStyleconfirmationDialogConfirmButtonStyleprivate StringretryButtonTitleprivate JsonDialogButtonStyleconfirmationDialogRetryButtonStyleprivate StringdialogTitleprivate StringdialogMessageprivate JsonColordialogButtonsAccentColorprivate BooleanconfirmButtonFilledprivate JsonColorconfirmButtonFilledTextColor
-
Constructor Summary
Constructors Constructor Description JsonConfirmationDialogConfiguration(Boolean resultWithConfirmationEnabled, JsonBarcodeDialogFormat dialogTextFormat, JsonDialogStyle confirmationDialogStyle, String confirmButtonTitle, JsonDialogButtonStyle confirmationDialogConfirmButtonStyle, String retryButtonTitle, JsonDialogButtonStyle confirmationDialogRetryButtonStyle, String dialogTitle, String dialogMessage, JsonColor dialogButtonsAccentColor, Boolean confirmButtonFilled, JsonColor confirmButtonFilledTextColor)
-
Method Summary
Modifier and Type Method Description final BooleangetResultWithConfirmationEnabled()Defines, if the confirmation dialog should be displayed or not before returing the results to the delegate. final UnitsetResultWithConfirmationEnabled(Boolean resultWithConfirmationEnabled)Defines, if the confirmation dialog should be displayed or not before returing the results to the delegate. final JsonBarcodeDialogFormatgetDialogTextFormat()The text format of the result dialog. final UnitsetDialogTextFormat(JsonBarcodeDialogFormat dialogTextFormat)The text format of the result dialog. final JsonDialogStylegetConfirmationDialogStyle()The style of the confirmation dialog. final UnitsetConfirmationDialogStyle(JsonDialogStyle confirmationDialogStyle)The style of the confirmation dialog. final StringgetConfirmButtonTitle()The title of the confirmation dialog confirm button. final UnitsetConfirmButtonTitle(String confirmButtonTitle)The title of the confirmation dialog confirm button. final JsonDialogButtonStylegetConfirmationDialogConfirmButtonStyle()The style of the confirmation dialogs confirm button. final UnitsetConfirmationDialogConfirmButtonStyle(JsonDialogButtonStyle confirmationDialogConfirmButtonStyle)The style of the confirmation dialogs confirm button. final StringgetRetryButtonTitle()The title of the confirmation dialog retry button. final UnitsetRetryButtonTitle(String retryButtonTitle)The title of the confirmation dialog retry button. final JsonDialogButtonStylegetConfirmationDialogRetryButtonStyle()The style of the confirmation dialogs retry button. final UnitsetConfirmationDialogRetryButtonStyle(JsonDialogButtonStyle confirmationDialogRetryButtonStyle)The style of the confirmation dialogs retry button. final StringgetDialogTitle()The title of the confirmation dialog. final UnitsetDialogTitle(String dialogTitle)The title of the confirmation dialog. final StringgetDialogMessage()The message text of the confirmation dialog. final UnitsetDialogMessage(String dialogMessage)The message text of the confirmation dialog. final JsonColorgetDialogButtonsAccentColor()The accent color of buttons on a confirmation dialog. final UnitsetDialogButtonsAccentColor(JsonColor dialogButtonsAccentColor)The accent color of buttons on a confirmation dialog. final BooleangetConfirmButtonFilled()Allows to set if the confirm button should be filled. final UnitsetConfirmButtonFilled(Boolean confirmButtonFilled)Allows to set if the confirm button should be filled. final JsonColorgetConfirmButtonFilledTextColor()Allows to set a text color of the filled button. final UnitsetConfirmButtonFilledTextColor(JsonColor confirmButtonFilledTextColor)Allows to set a text color of the filled button. -
-
Constructor Detail
-
JsonConfirmationDialogConfiguration
JsonConfirmationDialogConfiguration(Boolean resultWithConfirmationEnabled, JsonBarcodeDialogFormat dialogTextFormat, JsonDialogStyle confirmationDialogStyle, String confirmButtonTitle, JsonDialogButtonStyle confirmationDialogConfirmButtonStyle, String retryButtonTitle, JsonDialogButtonStyle confirmationDialogRetryButtonStyle, String dialogTitle, String dialogMessage, JsonColor dialogButtonsAccentColor, Boolean confirmButtonFilled, JsonColor confirmButtonFilledTextColor)
-
-
Method Detail
-
getResultWithConfirmationEnabled
final Boolean getResultWithConfirmationEnabled()
Defines, if the confirmation dialog should be displayed or not before returing the results to the delegate. Defaults to False.
-
setResultWithConfirmationEnabled
final Unit setResultWithConfirmationEnabled(Boolean resultWithConfirmationEnabled)
Defines, if the confirmation dialog should be displayed or not before returing the results to the delegate. Defaults to False.
-
getDialogTextFormat
final JsonBarcodeDialogFormat getDialogTextFormat()
The text format of the result dialog. Defaults to TYPE_AND_CODE.
-
setDialogTextFormat
final Unit setDialogTextFormat(JsonBarcodeDialogFormat dialogTextFormat)
The text format of the result dialog. Defaults to TYPE_AND_CODE.
-
getConfirmationDialogStyle
final JsonDialogStyle getConfirmationDialogStyle()
The style of the confirmation dialog. iOS only.
-
setConfirmationDialogStyle
final Unit setConfirmationDialogStyle(JsonDialogStyle confirmationDialogStyle)
The style of the confirmation dialog. iOS only.
-
getConfirmButtonTitle
final String getConfirmButtonTitle()
The title of the confirmation dialog confirm button.
-
setConfirmButtonTitle
final Unit setConfirmButtonTitle(String confirmButtonTitle)
The title of the confirmation dialog confirm button.
-
getConfirmationDialogConfirmButtonStyle
final JsonDialogButtonStyle getConfirmationDialogConfirmButtonStyle()
The style of the confirmation dialogs confirm button. iOS only.
-
setConfirmationDialogConfirmButtonStyle
final Unit setConfirmationDialogConfirmButtonStyle(JsonDialogButtonStyle confirmationDialogConfirmButtonStyle)
The style of the confirmation dialogs confirm button. iOS only.
-
getRetryButtonTitle
final String getRetryButtonTitle()
The title of the confirmation dialog retry button.
-
setRetryButtonTitle
final Unit setRetryButtonTitle(String retryButtonTitle)
The title of the confirmation dialog retry button.
-
getConfirmationDialogRetryButtonStyle
final JsonDialogButtonStyle getConfirmationDialogRetryButtonStyle()
The style of the confirmation dialogs retry button. iOS only.
-
setConfirmationDialogRetryButtonStyle
final Unit setConfirmationDialogRetryButtonStyle(JsonDialogButtonStyle confirmationDialogRetryButtonStyle)
The style of the confirmation dialogs retry button. iOS only.
-
getDialogTitle
final String getDialogTitle()
The title of the confirmation dialog.
-
setDialogTitle
final Unit setDialogTitle(String dialogTitle)
The title of the confirmation dialog.
-
getDialogMessage
final String getDialogMessage()
The message text of the confirmation dialog.
-
setDialogMessage
final Unit setDialogMessage(String dialogMessage)
The message text of the confirmation dialog.
-
getDialogButtonsAccentColor
final JsonColor getDialogButtonsAccentColor()
The accent color of buttons on a confirmation dialog. Android only.
-
setDialogButtonsAccentColor
final Unit setDialogButtonsAccentColor(JsonColor dialogButtonsAccentColor)
The accent color of buttons on a confirmation dialog. Android only.
-
getConfirmButtonFilled
final Boolean getConfirmButtonFilled()
Allows to set if the confirm button should be filled. Defaults to TRUE. Android only.
-
setConfirmButtonFilled
final Unit setConfirmButtonFilled(Boolean confirmButtonFilled)
Allows to set if the confirm button should be filled. Defaults to TRUE. Android only.
-
getConfirmButtonFilledTextColor
final JsonColor getConfirmButtonFilledTextColor()
Allows to set a text color of the filled button. See
confirmationDialogConfirmButtonFilled. Android only.
-
setConfirmButtonFilledTextColor
final Unit setConfirmButtonFilledTextColor(JsonColor confirmButtonFilledTextColor)
Allows to set a text color of the filled button. See
confirmationDialogConfirmButtonFilled. Android only.
-
-
-
-