QSensorPluginInterface

Since: 1.0

#include <QtSensors/QSensorPluginInterface>

QtSensors

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

See also:

{Creating a sensor plugin}


Overview

Public Functions Index

Protected Functions Index

Public Functions

void 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}

Since:

1.0

Protected Functions

~QSensorPluginInterface ()

Destructor.

Last modified: 2014-03-13

comments powered by Disqus