Data Capture Context Frame Listener
Defined in namespace Scandit.DataCapture.Core.Capture
- IDataCaptureContextFrameListener
interface IDataCaptureContextFrameListener
Added in version 6.8.0
Interface for observing/listening to frame processing related events of a data capture context.
To observe changes of the data capture context’s frame processing, one or more IDataCaptureContextFrameListener may be added. These listeners provide hooks into different parts of the data capture context.
Frame processing only happens if at least one IDataCaptureMode is added.
- OnObservationStarted()
void
OnObservationStarted(DataCaptureContext dataCaptureContext)Added in version 6.8.0
Called when the listener has been added to the data capture context and is from now on receiving events.
- OnObservationStopped()
void
OnObservationStopped(DataCaptureContext dataCaptureContext)Added in version 6.8.0
Called when the listener has been removed from the data capture context and is no longer receiving events.
- OnFrameProcessingStarted()
void
OnFrameProcessingStarted(DataCaptureContext dataCaptureContext, IFrameData frame)Added in version 6.8.0
Called when a frame will be processed.
- OnFrameProcessingFinished()
void
OnFrameProcessingFinished(DataCaptureContext dataCaptureContext, IFrameData frame)Added in version 6.8.0
Called when a frame has been processed.
- FrameProcessingEventArgs
class FrameProcessingEventArgs : EventArgs
Added in version 6.13.0
Provides data for the DataCaptureContext.FrameProcessingStarted and DataCaptureContext.FrameProcessingFinished events.
- FrameProcessingEventArgs()
FrameProcessingEventArgs(DataCaptureContext dataCaptureContext, IFrameData frameData)
Added in version 6.13.0
- FrameData
IFrameData FrameData { get; }
Added in version 6.13.0
- DataCaptureContext
DataCaptureContext DataCaptureContext { get; }
Added in version 6.13.0