Frame Source Listener#

Defined in namespace Scandit.Datacapture.Core

IFrameSourceListener#
interface IFrameSourceListener

Added in version 6.2.0

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

Added in version 6.2.0

OnObservationStarted()#
void OnObservationStarted(IFrameSource source)

Added in version 6.2.0

OnObservationStopped()#
void OnObservationStopped(IFrameSource source)

Added in version 6.2.0

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

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