Barcode Ar Highlight

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

BarcodeArHighlight
interface BarcodeArHighlight

Added in version 7.1.0

Common interface for Barcode Ar highlights. Highlights let the user identify the scanned barcode. They are shown on top of the respective barcode and are displayed as soon as the respective barcode is scanned. They are available in different shapes and have configurable styles. Currently, two types of highlights are supported: BarcodeArCircleHighlight and BarcodeArRectangleHighlight.

update(view, barcodeLocation)
void update(@NonNull View view,
        @NonNull Quadrilateral barcodeLocation)

Added in version 7.3.0

Called to update the view with barcode location. Called from the main thread. This method should not be called directly, it will be invoked automatically when needed.

createView()
@NonNull View createView()

Added in version 7.3.0

Called once to get the view that will be updated with barcode location in update(). Called from the main thread.

Barcode Ar highlights without image Barcode Ar highlights with image