1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
5 \qmlvaluetype geoSatelliteInfo
7 \inqmlmodule QtPositioning
8 \ingroup qml-QtPositioning5-basictypes
11 \brief The geoSatelliteInfo type represents basic information about a
14 This type is a QML representation of \l QGeoSatelliteInfo. The type is
15 uncreatable from QML and can only be used when handling satellite updates
16 from \l SatelliteSource.
18 This type contains the \c satelliteSystem, \c satelliteIdentifier and
19 \c signalStrength read-only properties, and also optional attributes.
21 Use the \l hasAttribute method to check if the attribute exists or not,
22 and the \l attribute method to get its value.
28 \qmlproperty enumeration QtPositioning::geoSatelliteInfo::satelliteSystem
31 Holds the GNSS system of the satellite.
33 \value GeoSatelliteInfo.Undefined Not defined.
34 \value GeoSatelliteInfo.GPS Global Positioning System (USA).
35 \value GeoSatelliteInfo.GLONASS Global Positioning System (Russia).
36 \value GeoSatelliteInfo.GALILEO Global navigation satellite system (EU).
37 \value GeoSatelliteInfo.BEIDOU BeiDou navigation satellite system (China).
38 \value GeoSatelliteInfo.QZSS Quasi-Zenith Satellite System (Japan).
39 \value GeoSatelliteInfo.Multiple This type normally indicates that the
40 information is received from a device that supports multiple
41 satellite systems, and the satellite system is not explicitly
43 \value GeoSatelliteInfo.CustomType The first type that can be used
48 \qmlproperty int QtPositioning::geoSatelliteInfo::satelliteIdentifier
51 Holds the satellite identifier number.
53 The satellite identifier number can be used to identify a satellite within
56 The actual value may vary, depending on the platform and the selected
61 \qmlproperty real QtPositioning::geoSatelliteInfo::signalStrength
64 Holds the signal strength in decibels.
68 \qmlmethod real QtPositioning::geoSatelliteInfo::attribute(Attribute attr)
70 Returns the value of the attribute \a attr or -1 if the value has not been
73 The following attributes are supported:
76 \li \c {GeoSatelliteInfo.Elevation} - the elevation of the satellite,
78 \li \c {GeoSatelliteInfo.Azimuth} - the azimuth to true north,
84 \qmlmethod bool QtPositioning::geoSatelliteInfo::hasAttribute(Attribute attr)
86 Returns \c true if the satellite information contains the attribute \a attr.
87 Otherwise returns \c false.
89 See \l attribute() for the list of supported attributes.