ReviewToolbarConfiguration

data class ReviewToolbarConfiguration(var addButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenAddButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewAddButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), var retakeButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenRetakeButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewRetakeButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), var cropButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenCropButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewCropButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), var rotateButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenRotateButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewRotateButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), var documentCleanupButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = BarButtonConfiguration( title = StyledText( text = "?reviewScreenDocumentCleanupButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewDocumentCleanupButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenDocumentCleanupButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewDocumentCleanupButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), var reorderButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = BarButtonConfiguration( title = StyledText( text = "?reviewScreenReorderPagesButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewReorderPagesButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenPopupReorderPagesButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewReorderPagesButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), var deleteButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenDeleteButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewDeleteButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", 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) ) ), var moreButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenMoreButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewMoreButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) )) : Parcelable

Configuration of the toolbar for the review screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(addButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenAddButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewAddButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), retakeButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenRetakeButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewRetakeButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), cropButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenCropButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewCropButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), rotateButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenRotateButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewRotateButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), documentCleanupButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = BarButtonConfiguration( title = StyledText( text = "?reviewScreenDocumentCleanupButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewDocumentCleanupButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenDocumentCleanupButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewDocumentCleanupButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), reorderButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = BarButtonConfiguration( title = StyledText( text = "?reviewScreenReorderPagesButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewReorderPagesButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenPopupReorderPagesButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewReorderPagesButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ) ) ), deleteButton: AdaptiveBarButtonConfiguration = AdaptiveBarButtonConfiguration( barButton = 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) ) ), popupMenuItem = PopupMenuItem( title = StyledText( text = "?reviewScreenDeleteButtonTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewDeleteButton", icon = IconStyle( color = ScanbotColor("?sbColorOnSurface", 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) ) ), moreButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?reviewScreenMoreButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionReviewMoreButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration of the 'add' button, located in the toolbar or in the popup menu.

Link copied to clipboard

Configuration of the 'crop' button, located in the toolbar or in the popup menu.

Link copied to clipboard

Configuration of the 'delete' button, located in the toolbar or in the popup menu.

Link copied to clipboard

Configuration of the 'cleanup' button, located in the toolbar or in the popup menu.

Link copied to clipboard

Configuration of the 'More' button, located in the toolbar.

Link copied to clipboard

Configuration of the 'reorder' button, located in the toolbar or in the popup menu.

Link copied to clipboard

Configuration of the 'retake' button, located in the toolbar or in the popup menu.

Link copied to clipboard

Configuration of the 'rotate' button, located in the toolbar or in the popup menu.

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