![]() |
Home · All Classes · All Functions · | ![]() |
The QSensorManager class returns the sensors on a device. More...
#include <QSensorManager>
This class is under development and is subject to change.
QSensorBackend * | createBackend ( QSensor * sensor ) |
QByteArray | defaultSensorForType ( const QByteArray & type ) |
void | registerBackend ( const QByteArray & type, const QByteArray & identifier, QSensorBackendFactory * factory ) |
REGISTER_STATIC_PLUGIN ( pluginname ) |
The QSensorManager class returns the sensors on a device.
A given device will have a variety of sensors. The sensors are categorized by type.
Create a backend for sensor. Returns null if no suitable backend exists.
Returns the default sensor identifier for type.
Register a sensor for type. The identifier must be unique.
The factory will be asked to create instances of the backend.
Registers a static plugin, pluginname.
Note that this macro relies on static initialization so it may not be appropriate for use in a library and may not work on all platforms.
See also Creating a sensor plugin.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 |