ImageSourceStateListener
Defines a listener for image source 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 ImageSourceStateListener(ABC)
Methods
| Method | Description |
|---|---|
on_image_source_state_received |
Called when the state of the image source changes. |
on_image_source_state_received
This method is called when the state of the image source changes.
@abstractmethod
def on_image_source_state_received(self, state: int) -> None:
Parameters
state The state of the image source. It is one of the values of the EnumImageSourceState enumeration.
See Also