BarcodeConfirmationDialogConfiguration

data class BarcodeConfirmationDialogConfiguration(var resultWithConfirmationEnabled: Boolean, var title: String? = null, var message: String? = null, var confirmButtonTitle: String? = null, var retryButtonTitle: String? = null, var buttonsAccentColor: Int? = null, var isConfirmButtonFilled: Boolean = false, var filledConfirmButtonTextColor: Int? = null, var dialogTextFormat: BarcodeDialogFormat = BarcodeDialogFormat.TYPE_AND_CODE) : Parcelable, Serializable

Provides the configuration for confirmation dialog for the barcode scanning process

Constructors

Link copied to clipboard
constructor(resultWithConfirmationEnabled: Boolean, title: String? = null, message: String? = null, confirmButtonTitle: String? = null, retryButtonTitle: String? = null, buttonsAccentColor: Int? = null, isConfirmButtonFilled: Boolean = false, filledConfirmButtonTextColor: Int? = null, dialogTextFormat: BarcodeDialogFormat = BarcodeDialogFormat.TYPE_AND_CODE)

Properties

Link copied to clipboard

The accent color of buttons on a confirmation dialog. If not set, the default color will be used.

Link copied to clipboard

Confirmation dialog confirm button text. If not set, the default title will be used.

Link copied to clipboard

The text format of the result dialog. Defaults to BarcodeDialogFormat.TYPE_AND_CODE.

Link copied to clipboard

The text color of the confirm button if it is filled. If not set, the default color will be used.

Link copied to clipboard

Allows to set if the confirm button should be filled. If not set, the default value will be used.

Link copied to clipboard

Confirmation dialog message. If not set, the default title will be used.

Link copied to clipboard

Defines, if the confirmation dialog should be displayed or not before returning the barcode scanning results. Defaults to False.

Link copied to clipboard

Confirmation dialog retry button text. If not set, the default title will be used.

Link copied to clipboard

Confirmation dialog title. If not set, the default title will be used.

Functions

Link copied to clipboard

Converts SDK object to JSON-compatible object.