ReviewBottomBarConfiguration

data class ReviewBottomBarConfiguration(var addButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenAddButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewAddButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var retakeButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenRetakeButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewRetakeButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var cropButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenCropButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewCropButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var rotateButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenRotateButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewRotateButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var deleteButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenDeleteButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewDeleteButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var submitButton: ButtonConfiguration = ButtonConfiguration( text = "?reviewScreenSubmitButtonTitle", accessibilityDescription = "?accessibilityDescriptionReviewSubmitButton", background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("?sbColorSurface", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) )) : Parcelable

Configuration of the bottom bar for the review screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(addButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenAddButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewAddButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), retakeButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenRetakeButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewRetakeButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), cropButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenCropButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewCropButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), rotateButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenRotateButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewRotateButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), deleteButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenDeleteButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewDeleteButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), submitButton: ButtonConfiguration = ButtonConfiguration( text = "?reviewScreenSubmitButtonTitle", accessibilityDescription = "?accessibilityDescriptionReviewSubmitButton", background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("?sbColorSurface", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration of the 'add' button, located in the bottom bar.

Link copied to clipboard

Configuration of the 'crop' button, located in the bottom bar.

Link copied to clipboard

Configuration of the 'delete' button, located in the bottom bar.

Link copied to clipboard

Configuration of the 'retake' button, located in the bottom bar.

Link copied to clipboard

Configuration of the 'rotate' button, located in the bottom bar.

Link copied to clipboard

Configuration of the 'submit' button, located in the bottom bar.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject