Configuration of the scanning interface’s viewfinder, allowing it to be shown or hidden as guidance to the user.

Hierarchy (view full)

Constructors

Properties

_type: "ViewFinderConfiguration"
aspectRatio: AspectRatio

The viewfinder's aspect ratio.

minimumInsets: EdgeInsets

The minimum insets of the viewfinder.

overlayColor: string

The color of the viewfinder overlay.

Default is "?sbColorSurfaceLow"

preferredHeight: number

The preferred height of the viewfinder.

Default is -1.0

The visual appearance of the viewfinder.

visible: boolean

Whether the viewfinder is visible.

Default is true