Package io.scanbot.sdk.barcode.ui
Interface IBarcodeScannerSelectionOverlayController
-
- All Implemented Interfaces:
public interface IBarcodeScannerSelectionOverlayController
Interface to control configuration parameters of the selection overlay layer inside the IBarcodeScannerView
-
-
Method Summary
Modifier and Type Method Description abstract Unit
setEnabled(Boolean isVisible)
Controls the visibility of the selection overlay layer (disabled by default) abstract Unit
setBarcodeItemViewFactory(BarcodePolygonsView.BarcodeItemViewFactory barcodeItemViewFactory)
Factory for the views appearing on the bottom of the barcode (or null) abstract Unit
setBarcodeAppearanceDelegate(BarcodePolygonsView.BarcodeAppearanceDelegate barcodeAppearanceDelegate)
Custom delegate for styling the barcodes. abstract Unit
setBarcodeItemViewBinder(BarcodePolygonsView.BarcodeItemViewBinder binder)
Factory for the views appearing on the bottom of the barcode (or null) abstract Unit
setBarcodeItemViewPositionHandler(BarcodePolygonsView.BarcodeItemViewPositionHandler positionHandler)
Factory for the views to adjust their position against polygon bounding box abstract Unit
setBarcodeHighlightedDelegate(BarcodePolygonsView.BarcodeHighlightDelegate delegate)
Factory for the views appearing on the bottom of the barcode (or null) -
-
Method Detail
-
setEnabled
abstract Unit setEnabled(Boolean isVisible)
Controls the visibility of the selection overlay layer (disabled by default)
-
setBarcodeItemViewFactory
abstract Unit setBarcodeItemViewFactory(BarcodePolygonsView.BarcodeItemViewFactory barcodeItemViewFactory)
Factory for the views appearing on the bottom of the barcode (or null)
-
setBarcodeAppearanceDelegate
abstract Unit setBarcodeAppearanceDelegate(BarcodePolygonsView.BarcodeAppearanceDelegate barcodeAppearanceDelegate)
Custom delegate for styling the barcodes. Its possible to set different styles for each barcodes.
-
setBarcodeItemViewBinder
abstract Unit setBarcodeItemViewBinder(BarcodePolygonsView.BarcodeItemViewBinder binder)
Factory for the views appearing on the bottom of the barcode (or null)
-
setBarcodeItemViewPositionHandler
abstract Unit setBarcodeItemViewPositionHandler(BarcodePolygonsView.BarcodeItemViewPositionHandler positionHandler)
Factory for the views to adjust their position against polygon bounding box
-
setBarcodeHighlightedDelegate
abstract Unit setBarcodeHighlightedDelegate(BarcodePolygonsView.BarcodeHighlightDelegate delegate)
Factory for the views appearing on the bottom of the barcode (or null)
-
-
-
-