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

Constructors

Properties

_type: "ViewFinderConfiguration"
aspectRatio: AspectRatio

The viewfinder's aspect ratio.

maxHeight: number

The maximum height of the viewfinder.

Default is -1.0.

maxWidth: number

The maximum width of the viewfinder.

Default is -1.0.

minimumInsets: EdgeInsets

The minimum insets of the viewfinder.

overlayColor: string

The color of the viewfinder overlay.

Default is "?sbColorSurfaceLow"

The visual appearance of the viewfinder.

visible: boolean

Whether the viewfinder is visible.

Default is true.