Package org.robolectric.shadows
Class GnssStatusBuilder.GnssSatelliteInfo.Builder
java.lang.Object
org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
- Enclosing class:
- GnssStatusBuilder.GnssSatelliteInfo
public abstract static class GnssStatusBuilder.GnssSatelliteInfo.Builder extends Object
Builder for
GnssStatusBuilder.GnssSatelliteInfo.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setConstellation
Sets theGNSS constellationof the satellite. -
setSvid
Sets theidentification numberof the satellite. -
setCn0DbHz
Gets thecarrier-to-noise densityof the satellite. -
setElevation
Sets theelevationof the satellite, in degrees. -
setAzimuth
Sets theazimuthof the satellite, in degrees. -
setHasEphemeris
Sets whether the satellitehas ephemeris data. -
setHasAlmanac
Sets whether the satellitehas almanac data. -
setUsedInFix
Sets whether the satellitewas used in the most recent position fix. -
setCarrierFrequencyHz
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setCarrierFrequencyHz(@Nullable Float carrierFrequencyHz)Sets thecarrier frequencyof the satellite, in Hz, if present; ifnull, indicates that the carrier frequencyis not available. -
build
Builds theGnssStatusBuilder.GnssSatelliteInfo.
-