Barcode Pick View Highlight Style Response
Defined in framework ScanditBarcodeCapture
Note
Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.
- BarcodePickViewHighlightStyleResponse
open class BarcodePickViewHighlightStyleResponse : NSObject
Added in version 7.0.0
Create this object to respond to highlight style queries.
- init
init(brush: Brush?, icon: UIImage?, statusIconStyle: BarcodePickStatusIconStyle?)
Added in version 7.0.0
Constructs a new instance with the passed brush and icon.
- init
init(brush: Brush?, selectedBrush: Brush?, icon: UIImage?, selectedIcon: UIImage?, statusIconStyle: BarcodePickStatusIconStyle?)
Added in version 7.0.0
Constructs a new instance with the passed brushes and icons.
- init
init(brush: Brush?, selectedBrush: Brush?, scanditIcon: ScanditIcon?, selectedScanditIcon: ScanditIcon?, statusIconStyle: BarcodePickStatusIconStyle?)
Added in version 7.3.0
Constructs a new instance with the passed brush and ScanditIcon icons.
- init
init(brush: Brush?, scanditIcon: ScanditIcon?, statusIconStyle: BarcodePickStatusIconStyle?)
Added in version 7.3.0
Constructs a new instance with the passed brush and ScanditIcon.
- BarcodePickViewHighlightStyleResponseBuilder
class BarcodePickViewHighlightStyleResponseBuilder : NSObject
Added in version 7.3.0
Builder for creating BarcodePickViewHighlightStyleResponse instances with various configurations.
- withBrush
func withBrush(_ brush: Brush?) ->
SelfAdded in version 7.3.0
Sets the brush to be used for highlighting barcodes.
- withSelectedBrush
func withSelectedBrush(_ selectedBrush: Brush?) ->
SelfAdded in version 7.3.0
Sets the brush to be used for highlighting selected barcodes.
- withIcon
func withIcon(_ icon: UIImage?) ->
SelfAdded in version 7.3.0
Sets the icon to be displayed using a bitmap.
- withSelectedIcon
func withSelectedIcon(_ selectedIcon: UIImage?) ->
SelfAdded in version 7.3.0
Sets the icon to be displayed for selected items using a bitmap.
- withScanditIcon
func withScanditIcon(_ scanditIcon: ScanditIcon?) ->
SelfAdded in version 7.3.0
Sets the icon to be displayed using a ScanditIcon.
- withSelectedScanditIcon
func withSelectedScanditIcon(_ selectedScanditIcon: ScanditIcon?) ->
SelfAdded in version 7.3.0
Sets the icon to be displayed for selected items using a ScanditIcon.
- withStatusIconStyle
func withStatusIconStyle(_ statusIconStyle: BarcodePickStatusIconStyle?) ->
SelfAdded in version 7.3.0
Sets the style for status icons.
- Build
func build() -> BarcodePickViewHighlightStyleResponse
Added in version 7.3.0
Builds and returns a new BarcodePickViewHighlightStyleResponse with the configured settings.
- BarcodePickStatusIconStyle
open class BarcodePickStatusIconStyle : NSObject
Added in version 6.23.0
This holds the style data for the status icons.
- init
convenience init(icon: UIImage, text: String)
Added in version 6.23.0
Constructs a new instance that will display the provided icon and text.
- init
convenience init(scanditIcon icon: ScanditIcon, text: String)
Added in version 7.3.0
Constructs a new instance that will display the provided icon and text.
- init
convenience init(iconColor: UIColor, iconBackgroundColor: UIColor, text: String)
Added in version 6.23.0
Constructs a new instance that will display the default icon, an exclamation mark. The icon will be customized with the provided colors.