Package org.robolectric.shadows
Class GnssStatusBuilder.GnssSatelliteInfo
java.lang.Object
org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
- Enclosing class:
- GnssStatusBuilder
Information about a single satellite in a
GnssStatus
.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
abstract float
Gets theazimuth
of the satellite, in degrees.abstract Float
Gets thecarrier frequency
of the satellite, in Hz, if present; ifnull
, indicates that the carrier frequencyis not available
.abstract float
Gets thecarrier-to-noise density
of the satellite.abstract int
Gets theGNSS constellation
of the satellite.abstract float
Gets theelevation
of the satellite, in degrees.abstract boolean
Gets whether the satellitehas almanac data
.abstract boolean
Gets whether the satellitehas ephemeris data
.abstract int
getSvid()
Gets theidentification number
of the satellite.abstract boolean
Gets whether the satellitewas used in the most recent position fix
.
-
Constructor Details
-
GnssSatelliteInfo
public GnssSatelliteInfo()
-
-
Method Details
-
getConstellation
public abstract int getConstellation()Gets theGNSS constellation
of the satellite. -
getSvid
public abstract int getSvid()Gets theidentification number
of the satellite. -
getCn0DbHz
public abstract float getCn0DbHz()Gets thecarrier-to-noise density
of the satellite. -
getElevation
public abstract float getElevation()Gets theelevation
of the satellite, in degrees. -
getAzimuth
public abstract float getAzimuth()Gets theazimuth
of the satellite, in degrees. -
getHasEphemeris
public abstract boolean getHasEphemeris()Gets whether the satellitehas ephemeris data
. -
getHasAlmanac
public abstract boolean getHasAlmanac()Gets whether the satellitehas almanac data
. -
isUsedInFix
public abstract boolean isUsedInFix()Gets whether the satellitewas used in the most recent position fix
. -
getCarrierFrequencyHz
Gets thecarrier frequency
of the satellite, in Hz, if present; ifnull
, indicates that the carrier frequencyis not available
. -
builder
-