Frame Source Listener

Defined in namespace Scandit.DataCapture.Core.Source

IFrameSourceListener
interface IFrameSourceListener

Added in version 6.8.0

OnStateChanged()
void OnStateChanged(IFrameSource source, FrameSourceState newState)

Added in version 6.8.0

OnObservationStarted()
void OnObservationStarted(IFrameSource source)

Added in version 6.8.0

OnObservationStopped()
void OnObservationStopped(IFrameSource source)

Added in version 6.8.0

OnFrameOutput()
void OnFrameOutput(IFrameSource source, IFrameData frame)

Added in version 6.8.0

Event that is emitted whenever a new frame is available. Consumers of this frame source can listen to this event to receive the frames produced by the frame source. The frames are reference counted, if the consumers require access to the frames past the lifetime of the callback, they need to increment the reference count of the frame by one and release it once they are done processing it.

FrameOutputEventArgs
class FrameOutputEventArgs : EventArgs

Added in version 6.13.0

Provides data for the Camera.FrameOutput event.

FrameOutputEventArgs()
FrameOutputEventArgs(IFrameSource source, IFrameData frameData)

Added in version 6.13.0

Source
IFrameSource Source { get; }

Added in version 6.13.0

FrameData
IFrameData FrameData { get; }

Added in version 6.13.0

FrameSourceStateChangedEventArgs
class FrameSourceStateChangedEventArgs : EventArgs

Added in version 6.13.0

Provides data for the Camera.StateChanged event.

FrameSourceStateChangedEventArgs()
FrameSourceStateChangedEventArgs(IFrameSource source, FrameSourceState newState)

Added in version 6.13.0

Source
IFrameSource Source { get; }

Added in version 6.13.0

NewState
FrameSourceState NewState { get; }

Added in version 6.13.0