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 Boolean
resultWithConfirmationEnabled
private JsonBarcodeDialogFormat
dialogTextFormat
private JsonDialogStyle
confirmationDialogStyle
private String
confirmButtonTitle
private JsonDialogButtonStyle
confirmationDialogConfirmButtonStyle
private String
retryButtonTitle
private JsonDialogButtonStyle
confirmationDialogRetryButtonStyle
private String
dialogTitle
private String
dialogMessage
private JsonColor
dialogButtonsAccentColor
private Boolean
confirmButtonFilled
private JsonColor
confirmButtonFilledTextColor
-
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 Boolean
getResultWithConfirmationEnabled()
Defines, if the confirmation dialog should be displayed or not before returing the results to the delegate. final Unit
setResultWithConfirmationEnabled(Boolean resultWithConfirmationEnabled)
Defines, if the confirmation dialog should be displayed or not before returing the results to the delegate. final JsonBarcodeDialogFormat
getDialogTextFormat()
The text format of the result dialog. final Unit
setDialogTextFormat(JsonBarcodeDialogFormat dialogTextFormat)
The text format of the result dialog. final JsonDialogStyle
getConfirmationDialogStyle()
The style of the confirmation dialog. final Unit
setConfirmationDialogStyle(JsonDialogStyle confirmationDialogStyle)
The style of the confirmation dialog. final String
getConfirmButtonTitle()
The title of the confirmation dialog confirm button. final Unit
setConfirmButtonTitle(String confirmButtonTitle)
The title of the confirmation dialog confirm button. final JsonDialogButtonStyle
getConfirmationDialogConfirmButtonStyle()
The style of the confirmation dialogs confirm button. final Unit
setConfirmationDialogConfirmButtonStyle(JsonDialogButtonStyle confirmationDialogConfirmButtonStyle)
The style of the confirmation dialogs confirm button. final String
getRetryButtonTitle()
The title of the confirmation dialog retry button. final Unit
setRetryButtonTitle(String retryButtonTitle)
The title of the confirmation dialog retry button. final JsonDialogButtonStyle
getConfirmationDialogRetryButtonStyle()
The style of the confirmation dialogs retry button. final Unit
setConfirmationDialogRetryButtonStyle(JsonDialogButtonStyle confirmationDialogRetryButtonStyle)
The style of the confirmation dialogs retry button. final String
getDialogTitle()
The title of the confirmation dialog. final Unit
setDialogTitle(String dialogTitle)
The title of the confirmation dialog. final String
getDialogMessage()
The message text of the confirmation dialog. final Unit
setDialogMessage(String dialogMessage)
The message text of the confirmation dialog. final JsonColor
getDialogButtonsAccentColor()
The accent color of buttons on a confirmation dialog. final Unit
setDialogButtonsAccentColor(JsonColor dialogButtonsAccentColor)
The accent color of buttons on a confirmation dialog. final Boolean
getConfirmButtonFilled()
Allows to set if the confirm button should be filled. final Unit
setConfirmButtonFilled(Boolean confirmButtonFilled)
Allows to set if the confirm button should be filled. final JsonColor
getConfirmButtonFilledTextColor()
Allows to set a text color of the filled button. final Unit
setConfirmButtonFilledTextColor(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.
-
-
-
-