Package org.robolectric.shadows
Class GnssStatusBuilder.GnssSatelliteInfo.Builder
java.lang.Object
org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
- Enclosing class:
- GnssStatusBuilder.GnssSatelliteInfo
Builder for 
GnssStatusBuilder.GnssSatelliteInfo.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract GnssStatusBuilder.GnssSatelliteInfobuild()Builds theGnssStatusBuilder.GnssSatelliteInfo.setAzimuth(float azimuth) Sets theazimuthof the satellite, in degrees.setCarrierFrequencyHz(Float carrierFrequencyHz) Sets thecarrier frequencyof the satellite, in Hz, if present; ifnull, indicates that the carrier frequencyis not available.setCn0DbHz(float cn0DbHz) Gets thecarrier-to-noise densityof the satellite.setConstellation(int constellation) Sets theGNSS constellationof the satellite.setElevation(float elevation) Sets theelevationof the satellite, in degrees.setHasAlmanac(boolean hasAlmanac) Sets whether the satellitehas almanac data.setHasEphemeris(boolean hasEphemeris) Sets whether the satellitehas ephemeris data.setSvid(int svid) Sets theidentification numberof the satellite.setUsedInFix(boolean usedInFix) Sets whether the satellitewas used in the most recent position fix.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
setConstellationSets theGNSS constellationof the satellite.
- 
setSvidSets theidentification numberof the satellite.
- 
setCn0DbHzGets thecarrier-to-noise densityof the satellite.
- 
setElevationSets theelevationof the satellite, in degrees.
- 
setAzimuthSets theazimuthof the satellite, in degrees.
- 
setHasEphemerisSets whether the satellitehas ephemeris data.
- 
setHasAlmanacSets whether the satellitehas almanac data.
- 
setUsedInFixSets whether the satellitewas used in the most recent position fix.
- 
setCarrierFrequencyHzpublic abstract GnssStatusBuilder.GnssSatelliteInfo.Builder setCarrierFrequencyHz(Float carrierFrequencyHz) Sets thecarrier frequencyof the satellite, in Hz, if present; ifnull, indicates that the carrier frequencyis not available.
- 
buildBuilds theGnssStatusBuilder.GnssSatelliteInfo.
 
-