GnssStatusCompat
abstract class GnssStatusCompat
kotlin.Any | |
↳ | androidx.core.location.GnssStatusCompat |
GnssStatus representation that works across all Android versions. See GnssStatus
and GpsStatus
.
Note: When used to wrap GpsStatus
, the best performance can be obtained by using a monotonically increasing satelliteIndex
parameter (for instance, by using a loop from 0 to getSatelliteCount()
). Random access is supported but performance may suffer.
Summary
Nested classes | |
---|---|
abstract |
See |
Constants | |
---|---|
static Int |
Constellation type constant for Beidou. |
static Int |
Constellation type constant for Galileo. |
static Int |
Constellation type constant for Glonass. |
static Int |
Constellation type constant for GPS. |
static Int |
Constellation type constant for IRNSS. |
static Int |
Constellation type constant for QZSS. |
static Int |
Constellation type constant for SBAS. |
static Int |
Unknown constellation type. |
Public methods | |
---|---|
abstract Float |
getAzimuthDegrees(@IntRange(0) satelliteIndex: Int) See |
abstract Float |
getBasebandCn0DbHz(@IntRange(0) satelliteIndex: Int) |
abstract Float |
getCarrierFrequencyHz(@IntRange(0) satelliteIndex: Int) |
abstract Float |
getCn0DbHz(@IntRange(0) satelliteIndex: Int) |
abstract Int |
getConstellationType(@IntRange(0) satelliteIndex: Int) |
abstract Float |
getElevationDegrees(@IntRange(0) satelliteIndex: Int) See |
abstract Int |
See |
abstract Int | |
abstract Boolean |
hasAlmanacData(@IntRange(0) satelliteIndex: Int) See |
abstract Boolean |
hasBasebandCn0DbHz(@IntRange(0) satelliteIndex: Int) |
abstract Boolean |
hasCarrierFrequencyHz(@IntRange(0) satelliteIndex: Int) |
abstract Boolean |
hasEphemerisData(@IntRange(0) satelliteIndex: Int) See |
abstract Boolean | |
open static GnssStatusCompat |
wrap(@NonNull gnssStatus: GnssStatus) Wraps the given |
open static GnssStatusCompat |
Wraps the given |
Constants
CONSTELLATION_BEIDOU
static val CONSTELLATION_BEIDOU: Int
Constellation type constant for Beidou.
Value: GnssStatus.CONSTELLATION_BEIDOU