Barcode Pick View Highlight Style Dot With Icons

Note

Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.

Defined in framework ScanditBarcodeCapture

SDCBarcodePickViewHighlightStyleDotWithIcons
@interface SDCBarcodePickViewHighlightStyleDotWithIcons : NSObject <SDCBarcodePickViewHighlightStyle>

Added in version 6.20.0

A style that will draw dots on top of barcodes, the highlights also have icons drawn on top.

- brushForState:
- (SDCBrush *)brushForState:(SDCBarcodePickState)state

Added in version 6.20.0

Gets the brush used for the passed pick state.

- setBrush:forState:
- (void)setBrush:(SDCBrush *)brush
        forState:(SDCBarcodePickState)state

Added in version 6.20.0

Use this method to configure the brush used for the specific pick state.

- selectedBrushForState:
- (nullable SDCBrush *)selectedBrushForState:(SDCBarcodePickState)state

Added in version 6.24.0

Gets the brush used when items in the passed pick state are selected. If nil, selected items are drawn with the same brush as non-selected items in the same state. Default is nil for all states.

- setSelectedBrush:forState:
- (void)setSelectedBrush:(nullable SDCBrush *)brush
                forState:(SDCBarcodePickState)state

Added in version 6.24.0

Use this method to configure the brush used when items in the specific pick state are selected. Pass nil to draw selected items with the same brush as non-selected items in the same state.

- setIcon:forState:
- (void)setIcon:(nullable UIImage *)icon
       forState:(SDCBarcodePickState)state

Added in version 6.22.0

Use this method to configure the icon used for the specific pick state.

Note

The icon is shown with a size of 18x18 dp.

- setScanditIcon:forState:
- (void)setScanditIcon:(nullable SDCScanditIcon *)icon
              forState:(SDCBarcodePickState)state

Added in version 7.3.0

Use this method to configure the icon used for the specific pick state using a resource.

Note

The icon is shown with a size of 18x18 dp.

- setSelectedIcon:forState:
- (void)setSelectedIcon:(nullable UIImage *)icon
               forState:(SDCBarcodePickState)state

Added in version 6.24.0

Use this method to configure the icon used when items in the specific pick state are selected. If nil, selected items use the same icon as non-selected items in the same state. Default is nil for all states.

- setSelectedScanditIcon:forState:
- (void)setSelectedScanditIcon:(nullable SDCScanditIcon *)icon
                      forState:(SDCBarcodePickState)state

Added in version 7.3.0

Use this method to configure the SDCScanditIcon used when items in the specific pick state are selected. Default is nil for all states.

JSONString
@property (nonatomic, nonnull, readonly) NSString *JSONString

Added in version 6.20.0

Returns the JSON representation of this SDCBarcodePickViewHighlightStyleDotWithIcons.

delegate
@property (nonatomic, weak, nullable) id<SDCBarcodePickViewHighlightStyleDelegate> delegate

Added in version 6.22.0

Set a delegate to override asynchronously the style of the highlights depending on each item’s code and state.

styleResponseCacheEnabled
@property (nonatomic, assign) BOOL styleResponseCacheEnabled

Added in version 6.22.0

If enabled the delegate responses will be cached, otherwise the style will be asked every time. Defaults to YES.