QGeoPositionInfoSourceFactory#
The QGeoPositionInfoSourceFactory
class is a factory class used as the plugin interface for external providers of positioning data. More…
Synopsis#
Virtual functions#
def
areaMonitor
(parent, parameters)def
positionInfoSource
(parent, parameters)def
satelliteInfoSource
(parent, parameters)
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:
parent –
PySide6.QtCore.QObject
parameters –
- Return type:
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:
parent –
PySide6.QtCore.QObject
parameters –
- Return type:
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:
parent –
PySide6.QtCore.QObject
parameters –
- Return type:
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.