QSensorChangesInterface#

The QSensorChangesInterface class is the pure virtual interface to sensor plugins. More…

Inheritance diagram of PySide6.QtSensors.QSensorChangesInterface

Synopsis#

Virtual functions#

Note

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

Detailed Description#

The 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.