Text With Badge Button Mode
data class TextWithBadgeButtonMode(var accessibilityDescription: String = "?accessibilityDescriptionCameraPreviewButton", var title: StyledText = StyledText( text = "?cameraBadgedPreviewButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), var background: BackgroundStyle = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), var pageCounter: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("?sbColorSurface", isArgb = false) ), foregroundColor = ScanbotColor("?sbColorPrimary", isArgb = false) )) : PreviewButton, Parcelable
Configuration of the 'preview' button in 'text with badge button mode'.
Constructors
Link copied to clipboard
constructor(accessibilityDescription: String = "?accessibilityDescriptionCameraPreviewButton", title: StyledText = StyledText( text = "?cameraBadgedPreviewButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), background: BackgroundStyle = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), pageCounter: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("?sbColorSurface", isArgb = false) ), foregroundColor = ScanbotColor("?sbColorPrimary", isArgb = false) ))
Properties
Link copied to clipboard
The text to be read when the 'preview' button is selected via the accessibility mode.
Link copied to clipboard
Configuration of the background appearance for the button.
Link copied to clipboard
Configuration of the badge icon.
Link copied to clipboard
Configuration of the text style for the 'preview' button.