ArOverlayConfiguration

@Immutable
data class ArOverlayConfiguration(val overlayEnabled: Boolean = false, val polygonConfiguration: ArOverlayPolygonConfiguration = ArOverlayPolygonConfiguration.Style(), val textConfiguration: ArOverlayTextConfiguration = ArOverlayTextConfiguration.Style())

The configuration for the AR overlay displayed on top of the detected barcodes in the camera preview.

Parameters

overlayEnabled

Whether the AR overlay is enabled or not.

polygonConfiguration

The configuration for the polygon in the AR overlay. See ArOverlayPolygonConfiguration.

textConfiguration

The configuration for the text in the AR overlay. See ArOverlayTextConfiguration.

Constructors

Link copied to clipboard
constructor(overlayEnabled: Boolean = false, polygonConfiguration: ArOverlayPolygonConfiguration = ArOverlayPolygonConfiguration.Style(), textConfiguration: ArOverlayTextConfiguration = ArOverlayTextConfiguration.Style())

Properties