Data Capture Context Listener
Defined under the namespace Scandit.Datacapture.Core
- DataCaptureContextListener
interface DataCaptureContextListener
Added in version 6.8.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 DataCaptureContextListener may be added. These listeners provide hooks into different parts of the data capture context.
- didStartObservingContext(context)
didStartObservingContext?(context: DataCaptureContext):
void
Added in version 6.8.0
Called when the listener has been added to the data capture context and is from now on receiving events.
- didChangeStatus(context, contextStatus)
didChangeStatus?(context: DataCaptureContext, contextStatus: ContextStatus):
void
Added in version 6.8.0
Called when a context status changed.