Data Capture Context Frame Listener#

Defined in namespace Scandit.Datacapture.Core

IDataCaptureContextFrameListener#
interface IDataCaptureContextFrameListener

Added in version 6.2.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.2.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.2.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.2.0

Called when a frame will be processed.

OnFrameProcessingFinished()#
void OnFrameProcessingFinished(DataCaptureContext dataCaptureContext, IFrameData frame)

Added in version 6.2.0

Called when a frame has been processed.