QSensorChangesInterface class is the pure virtual interface to sensor plugins. More…
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
QSensorChangesInterface class is implemented in sensor plugins to receive notification that registered sensor backends have changed.
- class PySide6.QtSensors.QSensorChangesInterface#
- abstract PySide6.QtSensors.QSensorChangesInterface.sensorsChanged()#
This function is called when the registered backends have changed. Any backends that depend on the presence of other sensors should be registered or unregistered in here.