QGeoPositionInfoSourceFactory#

The QGeoPositionInfoSourceFactory class is a factory class used as the plugin interface for external providers of positioning data. More

Synopsis#

Virtual functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

Each factory method takes a parameters argument, which allows to configure the created source.

class PySide6.QtPositioning.QGeoPositionInfoSourceFactory#
abstract PySide6.QtPositioning.QGeoPositionInfoSourceFactory.areaMonitor(parent, parameters)#
Parameters:
  • parentPySide6.QtCore.QObject

  • parameters – Dictionary with keys of type .QString and values of type QVariant.

Return type:

PySide6.QtPositioning.QGeoAreaMonitorSource

Returns a new QGeoAreaMonitorSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

abstract PySide6.QtPositioning.QGeoPositionInfoSourceFactory.positionInfoSource(parent, parameters)#
Parameters:
  • parentPySide6.QtCore.QObject

  • parameters – Dictionary with keys of type .QString and values of type QVariant.

Return type:

PySide6.QtPositioning.QGeoPositionInfoSource

Returns a new QGeoPositionInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

abstract PySide6.QtPositioning.QGeoPositionInfoSourceFactory.satelliteInfoSource(parent, parameters)#
Parameters:
  • parentPySide6.QtCore.QObject

  • parameters – Dictionary with keys of type .QString and values of type QVariant.

Return type:

PySide6.QtPositioning.QGeoSatelliteInfoSource

Returns a new QGeoSatelliteInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.