to top
Datalogic APIs
Added in revision 22
public interface

FrameSaveListener

com.datalogic.decode.FrameSaveListener

Class Overview

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.

See Also

Summary

Public Methods
abstract void onFrameSave(SavedFrame frame)
onFrameSave method will be called when a frame saved event is fired.

Public Methods

public abstract void onFrameSave (SavedFrame frame)

Added in revision 22

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.

Parameters
frame The data read as defined by SavedFrame
See Also