Class: QgsQtLocationConnection

A GPS connection subclass based on the Qt Location libraries.

Note

may not be available in Python bindings on all platforms

Class Hierarchy

Inheritance diagram of qgis.core.QgsQtLocationConnection

Base classes

QgsGpsConnection

Abstract base class for connections to a GPS device.

QObject

Methods

broadcastConnectionAvailable

Needed to make QtLocation detected

satellitesInUseUpdated

Called when the number of satellites in use is updated.

satellitesInViewUpdated

Called when the number of satellites in view is updated.

class qgis.core.QgsQtLocationConnection[source]

Bases: QgsGpsConnection

broadcastConnectionAvailable(self)[source]

Needed to make QtLocation detected

satellitesInUseUpdated(self, satellites: Iterable[QGeoSatelliteInfo])[source]

Called when the number of satellites in use is updated.

Note

not available in Python bindings on android

Parameters:

satellites (Iterable[QGeoSatelliteInfo])

satellitesInViewUpdated(self, satellites: Iterable[QGeoSatelliteInfo])[source]

Called when the number of satellites in view is updated.

Note

not available in Python bindings on android

Parameters:

satellites (Iterable[QGeoSatelliteInfo])