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鈥檚 that this plugin supports.