QGeoSatelliteInfo露

The QGeoSatelliteInfo class contains basic information about a satellite. More鈥�

Inheritance diagram of PySide2.QtPositioning.QGeoSatelliteInfo

Synopsis露

Functions露

Detailed Description露

class PySide2.QtPositioning.QGeoSatelliteInfo露

PySide2.QtPositioning.QGeoSatelliteInfo(other)

param other:

PySide2.QtPositioning.QGeoSatelliteInfo

Creates a satellite information object.

PySide2.QtPositioning.QGeoSatelliteInfo.Attribute露

Defines the attributes for the satellite information.

Constant

Description

QGeoSatelliteInfo.Elevation

The elevation of the satellite, in degrees.

QGeoSatelliteInfo.Azimuth

The azimuth to true north, in degrees.

PySide2.QtPositioning.QGeoSatelliteInfo.SatelliteSystem露

Defines the GNSS system of the satellite.

Constant

Description

QGeoSatelliteInfo.Undefined

Not defined.

QGeoSatelliteInfo.GPS

Global Positioning System (USA).

QGeoSatelliteInfo.GLONASS

Global Positioning System (Russia).

PySide2.QtPositioning.QGeoSatelliteInfo.attribute(attribute)露
Parameters:

attribute 鈥� Attribute

Return type:

float

Returns the value of the specified attribute as a qreal value.

Returns -1 if the value has not been set.

PySide2.QtPositioning.QGeoSatelliteInfo.hasAttribute(attribute)露
Parameters:

attribute 鈥� Attribute

Return type:

bool

Returns true if the specified attribute is present in this update.

PySide2.QtPositioning.QGeoSatelliteInfo.__ne__(other)露
Parameters:

other 鈥� PySide2.QtPositioning.QGeoSatelliteInfo

Return type:

bool

Returns true if any of the information for this satellite are not the same as those of other .

PySide2.QtPositioning.QGeoSatelliteInfo.__eq__(other)露
Parameters:

other 鈥� PySide2.QtPositioning.QGeoSatelliteInfo

Return type:

bool

Returns true if all the information for this satellite are the same as those of other .

PySide2.QtPositioning.QGeoSatelliteInfo.removeAttribute(attribute)露
Parameters:

attribute 鈥� Attribute

Removes the specified attribute and its value.

PySide2.QtPositioning.QGeoSatelliteInfo.satelliteIdentifier()露
Return type:

int

Returns the satellite identifier number.

The satellite identifier number can be used to identify a satellite inside the satellite system. For satellite system GPS the satellite identifier number represents the PRN (Pseudo-random noise) number. For satellite system GLONASS the satellite identifier number represents the slot number.

PySide2.QtPositioning.QGeoSatelliteInfo.satelliteSystem()露
Return type:

SatelliteSystem

Returns the Satellite System (GPS, GLONASS, 鈥�)

PySide2.QtPositioning.QGeoSatelliteInfo.setAttribute(attribute, value)露
Parameters:
  • attribute 鈥� Attribute

  • value 鈥� float

Sets the value for attribute to value .

See also

attribute()

PySide2.QtPositioning.QGeoSatelliteInfo.setSatelliteIdentifier(satId)露
Parameters:

satId 鈥� int

Sets the satellite identifier number to satId .

The satellite identifier number can be used to identify a satellite inside the satellite system. For satellite system GPS the satellite identifier number represents the PRN (Pseudo-random noise) number. For satellite system GLONASS the satellite identifier number represents the slot number.

PySide2.QtPositioning.QGeoSatelliteInfo.setSatelliteSystem(system)露
Parameters:

system 鈥� SatelliteSystem

Sets the Satellite System (GPS, GLONASS, 鈥�) to system .

PySide2.QtPositioning.QGeoSatelliteInfo.setSignalStrength(signalStrength)露
Parameters:

signalStrength 鈥� int

Sets the signal strength to signalStrength , in decibels.

See also

signalStrength()

PySide2.QtPositioning.QGeoSatelliteInfo.signalStrength()露
Return type:

int

Returns the signal strength, or -1 if the value has not been set.