Frame Source Listener
Defined in framework ScanditDataCaptureCore
- SDCFrameSourceListener
@protocol SDCFrameSourceListener <NSObject>
Added in version 6.0.0
- - frameSource:didChangeState:
- (
void
)frameSource:(id
<SDCFrameSource>)source didChangeState:(SDCFrameSourceState)newStateAdded in version 6.0.0
- - didStartObservingFrameSource:
- (
void
)didStartObservingFrameSource:(id
<SDCFrameSource>)sourceAdded in version 6.0.0
- - didStopObservingFrameSource:
- (
void
)didStopObservingFrameSource:(id
<SDCFrameSource>)sourceAdded in version 6.0.0
- - frameSource:didOutputFrame:
- (
void
)frameSource:(id
<SDCFrameSource>)source didOutputFrame:(id
<SDCFrameData>)frameAdded in version 6.0.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.