QtMobility Reference Documentation

QSensorPluginInterface Class Reference

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

 #include <QSensorPluginInterface>

This class was introduced in Qt Mobility 1.0.

Public Functions

virtual void registerSensors () = 0

Detailed Description

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.

Member Function Documentation

void QSensorPluginInterface::registerSensors () [pure virtual]

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.

This function was introduced in Qt Mobility 1.0.

See also Creating a sensor plugin.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.