com.datalogic.decode.FrameSaveListener |
This interface is used by the application to listen to the decoder's frame save event.
This is intended to be used with the addFrameSaveListener
method of the BarcodeManager
class.
The listener is active only when the properties FRAME_CAPTURE_ENABLE
and FRAME_CAPTURE_STORAGE_ENABLE
are set to true
.
The path is set by the property FRAME_CAPTURE_FILE_PATH
, only paths in the public storage location are supported (e.g., /storage/emulated/0/).
More than one object instance can listen to the decoding events in an application.
More than one application can listen to decoding events in the system.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
onFrameSave method will be called when a frame saved event is fired.
|
onFrameSave method will be called when a frame saved event is fired. When a frame is not saved for an error onFrameSave will not be called, an exception, if enabled, will be thrown by the ErrorManager.
frame | The data read as defined by SavedFrame |
---|