QSensorPluginInterface¶
The QSensorPluginInterface
class is the pure virtual interface to sensor plugins. More…
Detailed Description¶
The QSensorPluginInterface
class is implemented in sensor plugins to register sensor backends with QSensorManager
.
See also
- class PySide6.QtSensors.QSensorPluginInterface¶
- PySide6.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.
See also
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.