Barcode Pick View Highlight Style Response
Defined in package com.scandit.datacapture.barcode.pick.ui
Note
Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.
- BarcodePickViewHighlightStyleResponse
class BarcodePickViewHighlightStyleResponse
Added in version 6.22.0
Create this object to respond to highlight style queries.
- BarcodePickViewHighlightStyleResponse()
BarcodePickViewHighlightStyleResponse(@Nullable Brush brush, @Nullable Bitmap icon, @Nullable BarcodePickStatusIconStyle statusIconStyle)
Added in version 6.22.0
Constructs a new instance with the passed brush and icon.
- BarcodePickViewHighlightStyleResponse()
BarcodePickViewHighlightStyleResponse(@Nullable Brush brush, @Nullable Brush selectedBrush, @Nullable Bitmap icon, @Nullable Bitmap selectedIcon, @Nullable BarcodePickStatusIconStyle statusIconStyle)
Added in version 6.24.0
Constructs a new instance with the passed brushes and icons.
- BarcodePickViewHighlightStyleResponse()
BarcodePickViewHighlightStyleResponse(@Nullable Brush brush,
int
iconResource, @Nullable BarcodePickStatusIconStyle statusIconStyle)Added in version 6.22.0
Constructs a new instance with the passed brush and icon resource.
- BarcodePickViewHighlightStyleResponse()
BarcodePickViewHighlightStyleResponse(@Nullable Brush brush, @Nullable Brush selectedBrush,
int
iconResource,int
selectedIconResource, @Nullable BarcodePickStatusIconStyle statusIconStyle)Added in version 6.24.0
Constructs a new instance with the passed brushes and icon resources.
- toJson()
@NonNull String toJson()
Added in version 6.23.0
Returns the JSON representation of the response.
- fromJson(jsonData)
static @NonNull BarcodePickViewHighlightStyleResponse fromJson( @NonNull String jsonData)
Added in version 6.23.0
Builds a response using its JSON representation.
- BarcodePickStatusIconStyle
abstract class BarcodePickStatusIconStyle
Added in version 6.23.0
This holds the style data for the status icons.
- withIcon(icon, text)
static @NonNull BarcodePickStatusIconStyle withIcon( @NonNull Bitmap icon, @NonNull String text)
Added in version 6.23.0
Constructs a new instance that will display the provided icon and text.
- withColors(iconColor, iconBackgroundColor, text)
static @NonNull BarcodePickStatusIconStyle withColors(
int
iconColor,int
iconBackgroundColor, @NonNull String 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.
- fromJson(jsonData)
static @NonNull BarcodePickStatusIconStyle fromJson( @NonNull String jsonData)
Added in version 6.23.0
Constructs a new instance using its JSON representation.