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 forGnssStatusBuilder.GnssSatelliteInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
setConstellation
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setConstellation(int constellation)
Sets theGNSS constellation
of the satellite.
-
setSvid
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setSvid(int svid)
Sets theidentification number
of the satellite.
-
setCn0DbHz
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setCn0DbHz(float cn0DbHz)
Gets thecarrier-to-noise density
of the satellite.
-
setElevation
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setElevation(float elevation)
Sets theelevation
of the satellite, in degrees.
-
setAzimuth
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setAzimuth(float azimuth)
Sets theazimuth
of the satellite, in degrees.
-
setHasEphemeris
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setHasEphemeris(boolean hasEphemeris)
Sets whether the satellitehas ephemeris data
.
-
setHasAlmanac
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setHasAlmanac(boolean hasAlmanac)
Sets whether the satellitehas almanac data
.
-
setUsedInFix
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setUsedInFix(boolean usedInFix)
Sets whether the satellitewas used in the most recent position fix
.
-
setCarrierFrequencyHz
public abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setCarrierFrequencyHz(@Nullable Float carrierFrequencyHz)
Sets thecarrier frequency
of the satellite, in Hz, if present; ifnull
, indicates that the carrier frequencyis not available
.
-
build
public abstract GnssStatusBuilder.GnssSatelliteInfo build()
Builds theGnssStatusBuilder.GnssSatelliteInfo
.
-
-