Data Capture Context Listener
Defined in namespace Scandit.DataCapture.Core.Capture
- IDataCaptureContextListener
interface IDataCaptureContextListener
Added in version 6.16.0
Interface for observing/listening to mode and status changes of a data capture context.
To observe changes of the data capture context, one or more IDataCaptureContextListener may be added. These listeners provide hooks into different parts of the data capture context.
- OnFrameSourceChanged()
void
OnFrameSourceChanged(DataCaptureContext dataCaptureContext, IFrameSource frameSource)Added in version 6.16.0
Invoked when the data capture context changed the frame source. Also invoked if the frame source is reset to null.
- OnModeAdded()
void
OnModeAdded(DataCaptureContext dataCaptureContext, IDataCaptureMode mode)Added in version 6.16.0
Called when a mode got added to the context.
- OnModeRemoved()
void
OnModeRemoved(DataCaptureContext dataCaptureContext, IDataCaptureMode mode)Added in version 6.16.0
Called when a mode got removed from the context.
- OnObservationStarted()
void
OnObservationStarted(DataCaptureContext dataCaptureContext)Added in version 6.16.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.16.0
Called when the listener has been removed from the data capture context and is no longer receiving events.
- OnStatusChanged()
void
OnStatusChanged(DataCaptureContext dataCaptureContext, ContextStatus status)Added in version 6.16.0
Called when a context status changed.
- FrameSourceChangedEventArgs
class FrameSourceChangedEventArgs : EventArgs
Added in version 6.16.0
Provides data for the DataCaptureContext.FrameSourceChanged event.
- FrameSourceChangedEventArgs()
FrameSourceChangedEventArgs(DataCaptureContext dataCaptureContext, IFrameSource frameSource)
Added in version 6.16.0
- DataCaptureContext
DataCaptureContext DataCaptureContext { get; }
Added in version 6.16.0
- FrameSource
IFrameSource FrameSource { get; }
Added in version 6.16.0
- ModeChangedEventArgs
class ModeChangedEventArgs : EventArgs
Added in version 6.16.0
Provides data for the DataCaptureContext.ModeAdded and DataCaptureContext.ModeRemoved events.
- ModeChangedEventArgs()
ModeChangedEventArgs(DataCaptureContext dataCaptureContext, IDataCaptureMode mode)
Added in version 6.16.0
- DataCaptureContext
DataCaptureContext DataCaptureContext { get; }
Added in version 6.16.0
- Mode
IDataCaptureMode Mode { get; }
Added in version 6.16.0
- StatusChangedEventArgs
class StatusChangedEventArgs : EventArgs
Added in version 6.16.0
Provides data for the DataCaptureContext.StatusChanged event.
- StatusChangedEventArgs()
StatusChangedEventArgs(DataCaptureContext dataCaptureContext, ContextStatus status)
Added in version 6.16.0
- DataCaptureContext
DataCaptureContext DataCaptureContext { get; }
Added in version 6.16.0
- Status
ContextStatus Status { get; }
Added in version 6.16.0