Camera Toolbar
data class CameraToolbar(var toolbarMode: ToolbarMode = ToolbarMode.SOLID, 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 toolbar for the camera screen.
Constructors
Link copied to clipboard
constructor(toolbarMode: ToolbarMode = ToolbarMode.SOLID, 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( ))
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
The visual mode used for the toolbar.
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.