Describes the strategy used to obtain information about the browser's cameras in BrowserCameras.
This information is used to automatically choose the best (=main) camera on devices with multiple cameras.
If SLOW_DEFERRED or FAST_DEFERRED is used, the camera information is obtained when a scanner is opened for the
first time. Because querying the camera information takes some time, this might cause a small delay when the
scanner is opened.
If SLOW or FAST is used, the camera information is being gathered in the background as soon as you start the
SDK's initialization. When you open a scanner a bit later, the necessary camera information might already be
gathered and the scanner opens a bit faster than with the *_DEFERRED modes.
Please note that this might trigger the user's camera permission dialog when you initialize the SDK.
If NONE is used, no additional camera information is gathered. On multi-camera devices, the choice of the
camera is left to the browser. On a few devices, the browser chooses a camera with a 'fish-eye' or telephoto lens
which is usually undesirable for scans.
Describes the strategy used to obtain information about the browser's cameras in BrowserCameras. This information is used to automatically choose the best (=main) camera on devices with multiple cameras.
SLOW_DEFERRED
orFAST_DEFERRED
is used, the camera information is obtained when a scanner is opened for the first time. Because querying the camera information takes some time, this might cause a small delay when the scanner is opened.SLOW
orFAST
is used, the camera information is being gathered in the background as soon as you start the SDK's initialization. When you open a scanner a bit later, the necessary camera information might already be gathered and the scanner opens a bit faster than with the*_DEFERRED
modes. Please note that this might trigger the user's camera permission dialog when you initialize the SDK.NONE
is used, no additional camera information is gathered. On multi-camera devices, the choice of the camera is left to the browser. On a few devices, the browser chooses a camera with a 'fish-eye' or telephoto lens which is usually undesirable for scans.For the difference between
SLOW
andFAST
see DiscoverCameraMode.