The QSensorPluginInterface class is the pure virtual interface to sensor plugins. More...
Header: | #include <QSensorPluginInterface> |
qmake: | QT += sensors |
Since: | Qt 5.1 |
virtual void | registerSensors() = 0 |
The QSensorPluginInterface class is the pure virtual interface to sensor plugins.
The QSensorPluginInterface class is implemented in sensor plugins to register sensor backends with QSensorManager.
See also Creating a sensor plugin.
[pure virtual]
void QSensorPluginInterface::registerSensors()This function is called when the plugin is loaded. The plugin should register sensor backends by calling QSensorManager::registerBackend(). Any backends that utilise other sensors should be registered in the QSensorPluginInterface::sensorsChanged() method instead.
See also Creating a sensor plugin.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: