java.lang.Object | ||
↳ | com.datalogic.device.configuration.PropertyGroup | |
↳ | com.datalogic.decode.configuration.FrameCaptureConfiguration |
FrameCaptureConfiguration
is the class responsible for configuring the scanner to capture,
store, and provide frames during barcode scanning operations. This configuration allows to specify
how the scanner should handle frame capture, including the format, storage options, and
the location where captured frames will be saved.
The frame capture can be monitored using two types of listeners:
FrameCaptureListener
: This listener is used to receive frames captured by the scanner in real time.
It is added using the addFrameCaptureListener
method of the BarcodeManager
.FrameSaveListener
: This listener is used to monitor when frames are saved to the file system.
It is added using the addFrameSaveListener
method of the BarcodeManager
.Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enable | enable actives the capture of the frames. |
||||||||||
filePath | filePath indicates the directory where will be stored the frames
saved by the Scanner. |
||||||||||
format | format selects the format used for storing the frames captured
by the Scanner. |
||||||||||
mode | mode selects the Scanner frame capture mode. |
||||||||||
storage | storage enables the Scanner to store captured frames. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is the constructor of FrameCaptureConfiguration.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.configuration.PropertyGroup
| |||||||||||
From class
java.lang.Object
|
filePath
indicates the directory where will be stored the frames
saved by the Scanner. Only directories under getExternalStorageDirectory()
are
supported (eg. /storage/emulated/0/).
format
selects the format used for storing the frames captured
by the Scanner.
mode
selects the Scanner frame capture mode.
storage
enables the Scanner to store captured frames.
If enable
and storage
are both set to true
, the frame are saved in the location defined by filePath
(even if no FrameSaveListener
is registered).
This is the constructor of FrameCaptureConfiguration.