Barcode Pick View Highlight Style Response

Defined in framework ScanditBarcodeCapture

BarcodePickViewHighlightStyleResponse
open class BarcodePickViewHighlightStyleResponse : NSObject

Added in version 7.0.0

Create this object to respond to highlight style queries.

init(brush:icon:statusIconStyle:)
init(brush: Brush?, icon: UIImage?, statusIconStyle: BarcodePickStatusIconStyle?)

Added in version 7.0.0

Constructs a new instance with the passed brush and icon.

init(brush:selectedBrush:icon:selectedIcon:statusIconStyle:)
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(brush:selectedBrush:scanditIcon:selectedScanditIcon:statusIconStyle:)
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(brush:scanditIcon:statusIconStyle:)
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(jsonString:)
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(icon:text:)
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(scanditIcon:text:)
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(iconColor:iconBackgroundColor:text:)
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(jsonString:)
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.