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.

jsonString
open var jsonString: String { get }

Added in version 7.0.0

Returns the JSON representation of the response.

init
convenience init(jsonString JSONString: String)

Added in version 7.0.0

Builds a response using its JSON representation.

BarcodePickViewHighlightStyleResponseBuilder
class BarcodePickViewHighlightStyleResponseBuilder : NSObject

Added in version 7.3.0

Builder for creating BarcodePickViewHighlightStyleResponse instances with various configurations.

withBrush
func withBrush(_ brush: Brush?) -> Self

Added in version 7.3.0

Sets the brush to be used for highlighting barcodes.

withSelectedBrush
func withSelectedBrush(_ selectedBrush: Brush?) -> Self

Added in version 7.3.0

Sets the brush to be used for highlighting selected barcodes.

withIcon
func withIcon(_ icon: UIImage?) -> Self

Added in version 7.3.0

Sets the icon to be displayed using a bitmap.

withSelectedIcon
func withSelectedIcon(_ selectedIcon: UIImage?) -> Self

Added in version 7.3.0

Sets the icon to be displayed for selected items using a bitmap.

withScanditIcon
func withScanditIcon(_ scanditIcon: ScanditIcon?) -> Self

Added in version 7.3.0

Sets the icon to be displayed using a ScanditIcon.

withSelectedScanditIcon
func withSelectedScanditIcon(_ selectedScanditIcon: ScanditIcon?) -> Self

Added in version 7.3.0

Sets the icon to be displayed for selected items using a ScanditIcon.

withStatusIconStyle
func withStatusIconStyle(_ statusIconStyle: BarcodePickStatusIconStyle?) -> Self

Added 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.

init
convenience init(jsonString JSONString: String)

Added in version 6.23.0

Constructs a new instance using its JSON representation.

jsonString
open var jsonString: String { get }

Added in version 6.23.0

Returns the JSON representation of the icon style.