QSensorGesturePluginInterface

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

Inheritance diagram of PySide2.QtSensors.QSensorGesturePluginInterface

Detailed Description

The QSensorGesturePluginInterface class is implemented in sensor gesture plugins to register sensor gesture recognizers with QSensorGestureManager .

See also

QtSensorGestures Plugins

class PySide2.QtSensors.QSensorGesturePluginInterface

Construct the QSensorGesturePluginInterface .

PySide2.QtSensors.QSensorGesturePluginInterface.createRecognizers()
Return type:

Called by the manager to create the recognizers. Plugins should initialize and register their recognizers using registerSensorGestureRecognizer() here.

PySide2.QtSensors.QSensorGesturePluginInterface.name()
Return type:

str

Returns this plugins name.

PySide2.QtSensors.QSensorGesturePluginInterface.supportedIds()
Return type:

list of strings

Returns a list of the recognizer Id’s that this plugin supports.