Compartir a través de


GnssStatus.GetSvid(Int32) Method

Definition

Gets the identification number for the satellite at the specific index.

[Android.Runtime.Register("getSvid", "(I)I", "", ApiSince=24)]
public int GetSvid (int satelliteIndex);
[<Android.Runtime.Register("getSvid", "(I)I", "", ApiSince=24)>]
member this.GetSvid : int -> int

Parameters

satelliteIndex
Int32

An index from zero to #getSatelliteCount() - 1

Returns

Attributes

Remarks

Gets the identification number for the satellite at the specific index.

This svid is pseudo-random number for most constellations. It is FCN &amp; OSN number for Glonass.

The distinction is made by looking at constellation field #getConstellationType(int) Expected values are in the range of:

<ul> <li>GPS: 1-32</li> <li>SBAS: 120-151, 183-192</li> <li>GLONASS: One of: OSN, or FCN+100 <ul> <li>1-24 as the orbital slot number (OSN) (preferred, if known)</li> <li>93-106 as the frequency channel number (FCN) (-7 to +6) plus 100. i.e. encode FCN of -7 as 93, 0 as 100, and +6 as 106</li> </ul></li> <li>QZSS: 183-206</li> <li>Galileo: 1-36</li> <li>Beidou: 1-63</li> <li>IRNSS: 1-14</li> </ul>

Java documentation for android.location.GnssStatus.getSvid(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to