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

Inheritance diagram of PySide6.QtSensors.QSensorChangesInterface

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.