QSensorPluginInterface露

The QSensorPluginInterface class is the pure virtual interface to sensor plugins. More鈥�

Inheritance diagram of PySide2.QtSensors.QSensorPluginInterface

Detailed Description露

The QSensorPluginInterface class is implemented in sensor plugins to register sensor backends with QSensorManager .

class PySide2.QtSensors.QSensorPluginInterface露
PySide2.QtSensors.QSensorPluginInterface.registerSensors()露

This function is called when the plugin is loaded. The plugin should register sensor backends by calling registerBackend() . Any backends that utilise other sensors should be registered in the QSensorPluginInterface::sensorsChanged() method instead.