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.

SDCBarcodePickHighlightStyleResponse
@interface SDCBarcodePickHighlightStyleResponse : NSObject

Added in version 6.22.0

Create this object to respond to highlight style queries.

- initWithBrush:icon:statusIconStyle:
- (instancetype)initWithBrush:(SDCBrush *)brush
                         icon:(nullable UIImage *)icon
              statusIconStyle:(nullable SDCBarcodePickStatusIconStyle *)statusIconStyle

Added in version 6.23.0

Constructs a new instance with the passed brush and icon.

- initWithBrush:selectedBrush:icon:selectedIcon:statusIconStyle:
- (instancetype)initWithBrush:(SDCBrush *)brush
                selectedBrush:(nullable SDCBrush *)selectedBrush
                         icon:(nullable UIImage *)icon
                 selectedIcon:(nullable UIImage *)selectedIcon
              statusIconStyle:(nullable SDCBarcodePickStatusIconStyle *)statusIconStyle

Added in version 6.24.0

Constructs a new instance with the passed brushes and icons.

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

Added in version 6.22.0

Returns the JSON representation of the response.

+ responseWithJSONString:
+ (nullable instancetype)responseWithJSONString:(NSString *)JSONString

Added in version 6.22.0

Builds a response using its JSON representation.

SDCBarcodePickStatusIconStyle
@interface SDCBarcodePickStatusIconStyle : NSObject

Added in version 6.23.0

This holds the style data for the status icons.

+ statusIconStyleWithIcon:text:
+ (instancetype)statusIconStyleWithIcon:(UIImage *)icon
                                   text:(NSString *)text

Added in version 6.23.0

Constructs a new instance that will display the provided icon and text.

+ statusIconStyleWithIconColor:iconBackgroundColor:text:
+ (instancetype)statusIconStyleWithIconColor:(UIColor *)iconColor
                         iconBackgroundColor:(UIColor *)iconBackgroundColor
                                        text:(NSString *)text

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.

+ statusIconStyleWithJSONString:
+ (nullable instancetype)statusIconStyleWithJSONString:(NSString *)JSONString

Added in version 6.23.0

Constructs a new instance using its JSON representation.

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

Added in version 6.23.0

Returns the JSON representation of the icon style.