Configuration of the camera settings to be used while scanning.

Hierarchy

  • PartiallyConstructible
    • CameraConfiguration

Constructors

Properties

cameraModule: CameraModule

Which camera module to use on start-up.

Default Value

"BACK";
defaultZoomFactor: number

The default zoom factor on start-up.

Default Value

1.0;
flashEnabled: boolean

Whether the flash is enabled by default.

Default Value

false;
idealPreviewResolution: Resolution

The ideal resolution for the camera preview. Actual resolution may vary depending on browser and device capabilities.

Default Value

new Resolution({
"width": 1920,
"height": 1080
});
zoomSteps: number[]

The number of zoom steps available to the user.

Default Value

[1.0, 2.0, 5.0];

Generated using TypeDoc