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: cvr
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