CaptureStateListener
Defines a listener for capture state changes.
Note: Subclasses inheriting from this class must ensure that the parent class constructor (
super().__init__()
) is properly called to guarantee correct initialization.
Definition
Module: dynamsoft_capture_vision_router
class CaptureStateListener(ABC)
Methods
Method | Description |
---|---|
on_capture_state_changed |
Called when the capture state changes. |
on_capture_state_changed
Called when the capture state changes.
@abstractmethod
def on_capture_state_changed(self, state: int) -> None:
Parameters
state
The new capture state. It is one of the values of the EnumCaptureState
enumeration.
See Also