Package org.robolectric.shadows
Class GnssStatusBuilder.GnssSatelliteInfo
java.lang.Object
org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
- Enclosing class:
- GnssStatusBuilder
public abstract static class GnssStatusBuilder.GnssSatelliteInfo extends Object
Information about a single satellite in a
GnssStatus.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGnssStatusBuilder.GnssSatelliteInfo.BuilderBuilder forGnssStatusBuilder.GnssSatelliteInfo. -
Constructor Summary
Constructors Constructor Description GnssSatelliteInfo() -
Method Summary
Modifier and Type Method Description static GnssStatusBuilder.GnssSatelliteInfo.Builderbuilder()abstract floatgetAzimuth()Gets theazimuthof the satellite, in degrees.abstract FloatgetCarrierFrequencyHz()Gets thecarrier frequencyof the satellite, in Hz, if present; ifnull, indicates that the carrier frequencyis not available.abstract floatgetCn0DbHz()Gets thecarrier-to-noise densityof the satellite.abstract intgetConstellation()Gets theGNSS constellationof the satellite.abstract floatgetElevation()Gets theelevationof the satellite, in degrees.abstract booleangetHasAlmanac()Gets whether the satellitehas almanac data.abstract booleangetHasEphemeris()Gets whether the satellitehas ephemeris data.abstract intgetSvid()Gets theidentification numberof the satellite.abstract booleanisUsedInFix()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 constellationof the satellite. -
getSvid
public abstract int getSvid()Gets theidentification numberof the satellite. -
getCn0DbHz
public abstract float getCn0DbHz()Gets thecarrier-to-noise densityof the satellite. -
getElevation
public abstract float getElevation()Gets theelevationof the satellite, in degrees. -
getAzimuth
public abstract float getAzimuth()Gets theazimuthof 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 frequencyof the satellite, in Hz, if present; ifnull, indicates that the carrier frequencyis not available. -
builder
-