Data Capture Context Listener
Defined in framework ScanditDataCaptureCore
- SDCDataCaptureContextListener
@protocol SDCDataCaptureContextListener <NSObject>
Added in version 6.0.0
Protocol for observing/listening to mode and status changes of a data capture context.
To observe changes of the data capture context, one or more SDCDataCaptureContextListener may be added. These listeners provide hooks into different parts of the data capture context.
- - context:didChangeFrameSource:
- (
void
)context:(SDCDataCaptureContext *)context didChangeFrameSource:(nullableid
<SDCFrameSource>)frameSourceAdded in version 6.0.0
Invoked when the data capture context changed the frame source. Also invoked if the frame source is reset to nil.
- - context:didAddMode:
- (
void
)context:(SDCDataCaptureContext *)context didAddMode:(id
<SDCDataCaptureMode>)modeAdded in version 6.0.0
Called when a mode got added to the context.
- - context:didRemoveMode:
- (
void
)context:(SDCDataCaptureContext *)context didRemoveMode:(id
<SDCDataCaptureMode>)modeAdded in version 6.0.0
Called when a mode got removed from the context.
- - didStartObservingContext:
- (
void
)didStartObservingContext:(SDCDataCaptureContext *)contextAdded in version 6.0.0
Called when the listener has been added to the data capture context and is from now on receiving events.
- - didStopObservingContext:
- (
void
)didStopObservingContext:(SDCDataCaptureContext *)contextAdded in version 6.0.0
Called when the listener has been removed from the data capture context and is no longer receiving events.
- - context:didChangeStatus:
- (
void
)context:(SDCDataCaptureContext *)context didChangeStatus:(SDCContextStatus *)contextStatusAdded in version 6.0.0
Called when a context status changed.