Class BaseCaptureReader
- Direct Known Subclasses:
AudioCaptureReader
,VideoCaptureReader
All asynchronous reader objects derive from this class. Asynchronous readers are available for
image reading (VideoCaptureReader
) and audio reading (AudioCaptureReader
).
Asynchronous readers provide managed performance scaling by default.
The general signaling mechanism provides asynchronous callbacks when processing has been completed
on a packet of data (image frame or audio buffer) via the
ResultListener.onReaderResult(ReaderResult, ResultType)
and
ResultListener.onError(com.digimarc.dms.readers.BaseReader.ReaderError, com.digimarc.dms.readers.BaseReader.ResultType)
methods. These callbacks are delivered by a
separate thread within the capture reader class. The callbacks will always be delivered to your
application on the UI thread. Delays in returning from these callbacks will not obstruct the reader
itself, but it may cause a backup in the delivery of further notification callbacks.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.digimarc.dms.readers.BaseReader
BaseReader.AudioSymbology, BaseReader.ImageDetectionType, BaseReader.ImageSymbology, BaseReader.ReaderError, BaseReader.ResultType, BaseReader.Symbology, BaseReader.UndefinedSymbology
-
Field Summary
Fields inherited from class com.digimarc.dms.readers.BaseReader
All_Audio_Readers, All_Barcode_1D_Readers, All_Barcode_Readers, All_Image_Readers
-
Method Summary
Modifier and TypeMethodDescriptionvoid
release()
This method should be called when the reader is no longer needed.Methods inherited from class com.digimarc.dms.readers.BaseReader
buildSymbologyMask, clearCache, getReaderOptions, getSymbologies, setAllowPerformanceScheduling, setReaderOptions, setSymbologies
-
Method Details
-
release
public void release()Description copied from class:BaseReader
This method should be called when the reader is no longer needed. Failure to call this method may result in objects remaining in memory beyond their useful lifespan.- Overrides:
release
in classBaseReader
-