Barcode Pick View Highlight Style Custom View

Note

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

Defined in package com.scandit.datacapture.barcode.pick.ui

CustomView
class CustomView : BarcodePickViewHighlightStyle

Added in version 6.23.0

A style that will allow the user to provide their own views to be displayed on top of barcodes.

CustomView()
CustomView()

Added in version 6.23.0

Creates a new instance with default values and no view provider.

fitViewsToBarcode
boolean getFitViewsToBarcode()
void setFitViewsToBarcode(boolean value)

Added in version 6.23.0

If true the view size will be adjusted to cover the barcode. Defaults to false.

toJson()
@NonNull String toJson()

Added in version 6.23.0

Returns the JSON representation of this CustomView.

asyncCustomViewProvider
@Nullable BarcodePickViewHighlightStyleCustomViewProvider getAsyncCustomViewProvider()
void setAsyncCustomViewProvider(@Nullable BarcodePickViewHighlightStyleCustomViewProvider value)

Added in version 6.23.0

Sets a delegate that will provide the views to be displayed.

statusIconSettings
@NonNull BarcodePickStatusIconSettings getStatusIconSettings()
void setStatusIconSettings(@NonNull BarcodePickStatusIconSettings value)

Added in version 6.25.0

The settings used to customize the status icons.

minimumHighlightWidth
int getMinimumHighlightWidth()
void setMinimumHighlightWidth(int value)

Added in version 6.25.0

Minimum width for the highlights. Default is 40dp.

minimumHighlightHeight
int getMinimumHighlightHeight()
void setMinimumHighlightHeight(int value)

Added in version 6.25.0

Minimum height for the highlights. Default is 40dp.