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.