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 class
GnssStatusBuilder.GnssSatelliteInfo.Builder
Builder forGnssStatusBuilder.GnssSatelliteInfo
. -
Constructor Summary
Constructors Constructor Description GnssSatelliteInfo()
-
Method Summary
Modifier and Type Method Description static GnssStatusBuilder.GnssSatelliteInfo.Builder
builder()
abstract float
getAzimuth()
Gets theazimuth
of the satellite, in degrees.abstract Float
getCarrierFrequencyHz()
Gets thecarrier frequency
of the satellite, in Hz, if present; ifnull
, indicates that the carrier frequencyis not available
.abstract float
getCn0DbHz()
Gets thecarrier-to-noise density
of the satellite.abstract int
getConstellation()
Gets theGNSS constellation
of the satellite.abstract float
getElevation()
Gets theelevation
of the satellite, in degrees.abstract boolean
getHasAlmanac()
Gets whether the satellitehas almanac data
.abstract boolean
getHasEphemeris()
Gets whether the satellitehas ephemeris data
.abstract int
getSvid()
Gets theidentification number
of the satellite.abstract boolean
isUsedInFix()
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
-