# GnssStatusCompat

# GnssStatusCompat

Artifact:[androidx.core:core](https://developer.android.com/jetpack/androidx/releases/core)  
[View Source](https://cs.android.com/search?q=file:androidx/core/location/GnssStatusCompat.java+class:androidx.core.location.GnssStatusCompat)  
Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/core/location/GnssStatusCompat "View this page in Java")

<br />

```
abstract class GnssStatusCompat
```

<br />

*** ** * ** ***

GnssStatus representation that works across all Android versions. See[GnssStatus](https://developer.android.com/reference/android/location/GnssStatus.html)and[GpsStatus](https://developer.android.com/reference/android/location/GpsStatus.html).

Note: When used to wrap[GpsStatus](https://developer.android.com/reference/android/location/GpsStatus.html), the best performance can be obtained by using a monotonically increasing`satelliteIndex`parameter (for instance, by using a loop from 0 to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())). Random access is supported but performance may suffer.

## Summary

|                                                                                                                      ### Nested types                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `abstract class `[GnssStatusCompat.Callback](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat.Callback) See[GnssStatus.Callback](https://developer.android.com/reference/android/location/GnssStatus.Callback.html). |

|                                    ### Constants                                    |
|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [CONSTELLATION_BEIDOU](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#CONSTELLATION_BEIDOU())` = 5` Constellation type constant for Beidou.    |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [CONSTELLATION_GALILEO](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#CONSTELLATION_GALILEO())` = 6` Constellation type constant for Galileo. |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [CONSTELLATION_GLONASS](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#CONSTELLATION_GLONASS())` = 3` Constellation type constant for Glonass. |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [CONSTELLATION_GPS](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#CONSTELLATION_GPS())` = 1` Constellation type constant for GPS.             |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [CONSTELLATION_IRNSS](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#CONSTELLATION_IRNSS())` = 7` Constellation type constant for IRNSS.       |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [CONSTELLATION_QZSS](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#CONSTELLATION_QZSS())` = 4` Constellation type constant for QZSS.          |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [CONSTELLATION_SBAS](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#CONSTELLATION_SBAS())` = 2` Constellation type constant for SBAS.          |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [CONSTELLATION_UNKNOWN](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#CONSTELLATION_UNKNOWN())` = 0` Unknown constellation type.              |

|                                                                                               ### Public functions                                                                                               |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `abstract @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0, to = 360) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)    | [getAzimuthDegrees](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getAzimuthDegrees(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[getAzimuthDegrees](https://developer.android.com/reference/android/location/GnssStatus.html#getAzimuthDegrees(int))and[getAzimuth](https://developer.android.com/reference/android/location/GpsSatellite.html#getAzimuth()).             |
| `abstract @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0, to = 63) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)     | [getBasebandCn0DbHz](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getBasebandCn0DbHz(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[getCarrierFrequencyHz](https://developer.android.com/reference/android/location/GnssStatus.html#getCarrierFrequencyHz(int)).                                                                                                           |
| `abstract @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)              | [getCarrierFrequencyHz](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getCarrierFrequencyHz(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[getCarrierFrequencyHz](https://developer.android.com/reference/android/location/GnssStatus.html#getCarrierFrequencyHz(int)).                                                                                                     |
| `abstract @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0, to = 63) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)     | [getCn0DbHz](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getCn0DbHz(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[getCn0DbHz](https://developer.android.com/reference/android/location/GnssStatus.html#getCn0DbHz(int))and[getSnr](https://developer.android.com/reference/android/location/GpsSatellite.html#getSnr()).                                                 |
| `abstract `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                                                                                           | [getConstellationType](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getConstellationType(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[getConstellationType](https://developer.android.com/reference/android/location/GnssStatus.html#getConstellationType(int)).                                                                                                         |
| `abstract @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = "-90", to = 90) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) | [getElevationDegrees](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getElevationDegrees(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[getElevationDegrees](https://developer.android.com/reference/android/location/GnssStatus.html#getElevationDegrees(int))and[getElevation](https://developer.android.com/reference/android/location/GpsSatellite.html#getElevation()). |
| `abstract @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                      | [getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())`()` See[getSatelliteCount](https://developer.android.com/reference/android/location/GnssStatus.html#getSatelliteCount())and[getMaxSatellites](https://developer.android.com/reference/android/location/GpsStatus.html#getMaxSatellites()).                                                                                                                                                                                                            |
| `abstract @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 1, to = 200) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)            | [getSvid](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSvid(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[getSvid](https://developer.android.com/reference/android/location/GnssStatus.html#getSvid(int))and[getPrn](https://developer.android.com/reference/android/location/GpsSatellite.html#getPrn()).                                                             |
| `abstract `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                                                                                   | [hasAlmanacData](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#hasAlmanacData(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[hasAlmanacData](https://developer.android.com/reference/android/location/GnssStatus.html#hasAlmanacData(int))and[hasAlmanac](https://developer.android.com/reference/android/location/GpsSatellite.html#hasAlmanac()).                         |
| `abstract `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                                                                                   | [hasBasebandCn0DbHz](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#hasBasebandCn0DbHz(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[hasBasebandCn0DbHz](https://developer.android.com/reference/android/location/GnssStatus.html#hasBasebandCn0DbHz(int)).                                                                                                                 |
| `abstract `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                                                                                   | [hasCarrierFrequencyHz](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#hasCarrierFrequencyHz(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[hasCarrierFrequencyHz](https://developer.android.com/reference/android/location/GnssStatus.html#hasCarrierFrequencyHz(int)).                                                                                                     |
| `abstract `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                                                                                   | [hasEphemerisData](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#hasEphemerisData(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[hasEphemerisData](https://developer.android.com/reference/android/location/GnssStatus.html#hasEphemerisData(int))and[hasEphemeris](https://developer.android.com/reference/android/location/GpsSatellite.html#hasEphemeris()).             |
| `abstract `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                                                                                   | [usedInFix](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#usedInFix(int))`(satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` See[usedInFix](https://developer.android.com/reference/android/location/GnssStatus.html#usedInFix(int))and[usedInFix](https://developer.android.com/reference/android/location/GpsSatellite.html#usedInFix()).                                               |
| `java-static `[GnssStatusCompat](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat)                                                                                         | `@`[RequiresApi](https://developer.android.com/reference/kotlin/androidx/annotation/RequiresApi)`(value = `[VERSION_CODES.N](https://developer.android.com/reference/android/os/VERSION_CODES.html#N)`)` [wrap](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#wrap(android.location.GnssStatus))`(gnssStatus: `[GnssStatus](https://developer.android.com/reference/android/location/GnssStatus.html)`)` Wraps the given[GnssStatus](https://developer.android.com/reference/android/location/GnssStatus.html)as GnssStatusCompat.           |
| `java-static `[GnssStatusCompat](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat)                                                                                         | [wrap](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#wrap(android.location.GpsStatus))`(gpsStatus: `[GpsStatus](https://developer.android.com/reference/android/location/GpsStatus.html)`)` Wraps the given[GpsStatus](https://developer.android.com/reference/android/location/GpsStatus.html)as GnssStatusCompat.                                                                                                                                                                                                                          |

## Constants

### CONSTELLATION_BEIDOU

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
const val CONSTELLATION_BEIDOU = 5: Int
```

Constellation type constant for Beidou.  

### CONSTELLATION_GALILEO

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
const val CONSTELLATION_GALILEO = 6: Int
```

Constellation type constant for Galileo.  

### CONSTELLATION_GLONASS

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
const val CONSTELLATION_GLONASS = 3: Int
```

Constellation type constant for Glonass.  

### CONSTELLATION_GPS

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
const val CONSTELLATION_GPS = 1: Int
```

Constellation type constant for GPS.  

### CONSTELLATION_IRNSS

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
const val CONSTELLATION_IRNSS = 7: Int
```

Constellation type constant for IRNSS.  

### CONSTELLATION_QZSS

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
const val CONSTELLATION_QZSS = 4: Int
```

Constellation type constant for QZSS.  

### CONSTELLATION_SBAS

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
const val CONSTELLATION_SBAS = 2: Int
```

Constellation type constant for SBAS.  

### CONSTELLATION_UNKNOWN

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
const val CONSTELLATION_UNKNOWN = 0: Int
```

Unknown constellation type.  

## Public functions

### getAzimuthDegrees

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun getAzimuthDegrees(satelliteIndex: @IntRange(from = 0) Int): @FloatRange(from = 0, to = 360) Float
```

See[getAzimuthDegrees](https://developer.android.com/reference/android/location/GnssStatus.html#getAzimuthDegrees(int))and[getAzimuth](https://developer.android.com/reference/android/location/GpsSatellite.html#getAzimuth()).  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### getBasebandCn0DbHz

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun getBasebandCn0DbHz(satelliteIndex: @IntRange(from = 0) Int): @FloatRange(from = 0, to = 63) Float
```

See[getCarrierFrequencyHz](https://developer.android.com/reference/android/location/GnssStatus.html#getCarrierFrequencyHz(int)). Behavior is undefined if[hasCarrierFrequencyHz](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#hasCarrierFrequencyHz(int))returns false.  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### getCarrierFrequencyHz

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun getCarrierFrequencyHz(satelliteIndex: @IntRange(from = 0) Int): @FloatRange(from = 0) Float
```

See[getCarrierFrequencyHz](https://developer.android.com/reference/android/location/GnssStatus.html#getCarrierFrequencyHz(int)). Behavior is undefined if[hasCarrierFrequencyHz](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#hasCarrierFrequencyHz(int))returns false.  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### getCn0DbHz

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun getCn0DbHz(satelliteIndex: @IntRange(from = 0) Int): @FloatRange(from = 0, to = 63) Float
```

See[getCn0DbHz](https://developer.android.com/reference/android/location/GnssStatus.html#getCn0DbHz(int))and[getSnr](https://developer.android.com/reference/android/location/GpsSatellite.html#getSnr()).  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### getConstellationType

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun getConstellationType(satelliteIndex: @IntRange(from = 0) Int): Int
```

See[getConstellationType](https://developer.android.com/reference/android/location/GnssStatus.html#getConstellationType(int)). Will always return a value for the GPS constellation below Android N.  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### getElevationDegrees

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun getElevationDegrees(satelliteIndex: @IntRange(from = 0) Int): @FloatRange(from = "-90", to = 90) Float
```

See[getElevationDegrees](https://developer.android.com/reference/android/location/GnssStatus.html#getElevationDegrees(int))and[getElevation](https://developer.android.com/reference/android/location/GpsSatellite.html#getElevation()).  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### getSatelliteCount

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun getSatelliteCount(): @IntRange(from = 0) Int
```

See[getSatelliteCount](https://developer.android.com/reference/android/location/GnssStatus.html#getSatelliteCount())and[getMaxSatellites](https://developer.android.com/reference/android/location/GpsStatus.html#getMaxSatellites()).  

### getSvid

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun getSvid(satelliteIndex: @IntRange(from = 0) Int): @IntRange(from = 1, to = 200) Int
```

See[getSvid](https://developer.android.com/reference/android/location/GnssStatus.html#getSvid(int))and[getPrn](https://developer.android.com/reference/android/location/GpsSatellite.html#getPrn()).  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### hasAlmanacData

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun hasAlmanacData(satelliteIndex: @IntRange(from = 0) Int): Boolean
```

See[hasAlmanacData](https://developer.android.com/reference/android/location/GnssStatus.html#hasAlmanacData(int))and[hasAlmanac](https://developer.android.com/reference/android/location/GpsSatellite.html#hasAlmanac()).  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### hasBasebandCn0DbHz

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun hasBasebandCn0DbHz(satelliteIndex: @IntRange(from = 0) Int): Boolean
```

See[hasBasebandCn0DbHz](https://developer.android.com/reference/android/location/GnssStatus.html#hasBasebandCn0DbHz(int)). This will always return false prior to Android R.  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### hasCarrierFrequencyHz

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun hasCarrierFrequencyHz(satelliteIndex: @IntRange(from = 0) Int): Boolean
```

See[hasCarrierFrequencyHz](https://developer.android.com/reference/android/location/GnssStatus.html#hasCarrierFrequencyHz(int)). This will always return false prior to Android O.  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### hasEphemerisData

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun hasEphemerisData(satelliteIndex: @IntRange(from = 0) Int): Boolean
```

See[hasEphemerisData](https://developer.android.com/reference/android/location/GnssStatus.html#hasEphemerisData(int))and[hasEphemeris](https://developer.android.com/reference/android/location/GpsSatellite.html#hasEphemeris()).  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### usedInFix

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
abstract fun usedInFix(satelliteIndex: @IntRange(from = 0) Int): Boolean
```

See[usedInFix](https://developer.android.com/reference/android/location/GnssStatus.html#usedInFix(int))and[usedInFix](https://developer.android.com/reference/android/location/GpsSatellite.html#usedInFix()).  

|                                                                                             Parameters                                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `satelliteIndex: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | A index from zero to[getSatelliteCount](https://developer.android.com/reference/kotlin/androidx/core/location/GnssStatusCompat#getSatelliteCount())- 1 |

### wrap

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
@RequiresApi(value = VERSION_CODES.N)
java-static fun wrap(gnssStatus: GnssStatus): GnssStatusCompat
```

Wraps the given[GnssStatus](https://developer.android.com/reference/android/location/GnssStatus.html)as GnssStatusCompat.  

### wrap

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)  

```
java-static fun wrap(gpsStatus: GpsStatus): GnssStatusCompat
```

Wraps the given[GpsStatus](https://developer.android.com/reference/android/location/GpsStatus.html)as GnssStatusCompat.