PySide6.QtPositioning.QGeoPositionInfoSourceFactory¶
- class QGeoPositionInfoSourceFactory¶
The
QGeoPositionInfoSourceFactory
class is a factory class used as the plugin interface for external providers of positioning data. More…Synopsis¶
Virtual methods¶
def
areaMonitor()
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.
- abstract areaMonitor(parent, parameters)¶
- Parameters:
parent –
QObject
parameters – Dictionary with keys of type .QString and values of type QVariant.
- Return type:
Returns a new
QGeoAreaMonitorSource
associated with this plugin with parentparent
, and usingparameters
as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.- abstract positionInfoSource(parent, parameters)¶
- Parameters:
parent –
QObject
parameters – Dictionary with keys of type .QString and values of type QVariant.
- Return type:
Returns a new
QGeoPositionInfoSource
associated with this plugin with parentparent
, and usingparameters
as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.- abstract satelliteInfoSource(parent, parameters)¶
- Parameters:
parent –
QObject
parameters – Dictionary with keys of type .QString and values of type QVariant.
- Return type:
Returns a new
QGeoSatelliteInfoSource
associated with this plugin with parentparent
, and usingparameters
as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.