Data Capture Context Listener
Defined in library scandit_datacapture_core
- DataCaptureContextListener
abstract class DataCaptureContextListener
Added in version 6.7.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)
void
didStartObservingContext(DataCaptureContext context)Added in version 6.7.0
Called when the listener has been added to the data capture context and is from now on receiving events.
- didChangeStatus(context, contextStatus)
void
didChangeStatus(DataCaptureContext context, ContextStatus contextStatus)Added in version 6.7.0
Called when a context status changed.