CameraBottomBar

data class CameraBottomBar(var importButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraImportButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraImportButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var autoSnappingModeButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraAutoSnapButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraAutoSnapButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var manualSnappingModeButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraManualSnapButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraManualSnapButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var shutterButton: ShutterButton = ShutterButton( accessibilityDescription = "?accessibilityDescriptionCameraShutterButton" ), var torchOnButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraTorchOnButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraTorchOnButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var torchOffButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraTorchOffButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraTorchOffButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var previewButton: PreviewButton = PagePreviewMode( )) : Parcelable

Configuration of the bottom bar for the camera screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(importButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraImportButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraImportButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), autoSnappingModeButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraAutoSnapButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraAutoSnapButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), manualSnappingModeButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraManualSnapButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraManualSnapButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), shutterButton: ShutterButton = ShutterButton( accessibilityDescription = "?accessibilityDescriptionCameraShutterButton" ), torchOnButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraTorchOnButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraTorchOnButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), torchOffButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( visible = false, text = "?cameraTorchOffButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionCameraTorchOffButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), previewButton: PreviewButton = PagePreviewMode( ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration of the 'auto snapping mode' button.

Link copied to clipboard

Configuration of the 'import' button.

Link copied to clipboard

Configuration of the 'manual snapping mode' button.

Link copied to clipboard

Configuration of the 'preview' button.

Link copied to clipboard

Configuration of the 'shutter' button.

Link copied to clipboard

Configuration of the 'flashlight' button when in the 'off' state.

Link copied to clipboard

Configuration of the 'flashlight' button when in the 'on' state.

Functions

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