Package org.robolectric.shadows
Class GnssStatusBuilder
java.lang.Object
org.robolectric.shadows.GnssStatusBuilder
@Deprecated public final class GnssStatusBuilder extends Object
Deprecated.
Use
GnssStatus.Builder instead where possible.Builder for
GnssStatus objects, since they have a hidden constructor.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGnssStatusBuilder.GnssSatelliteInfoDeprecated.Information about a single satellite in aGnssStatus. -
Method Summary
Modifier and Type Method Description GnssStatusBuilderaddAllSatellites(Collection<GnssStatusBuilder.GnssSatelliteInfo> satelliteInfos)Deprecated.Adds a collection of satellites to theGnssStatusbeing built.GnssStatusBuilderaddSatellite(GnssStatusBuilder.GnssSatelliteInfo satelliteInfo)Deprecated.Adds a satellite to theGnssStatusbeing built.GnssStatusbuild()Deprecated.Builds theGnssStatusfrom the satellites previously added.static GnssStatusbuildFrom(GnssStatusBuilder.GnssSatelliteInfo... satelliteInfos)Deprecated.Convenience method to create aGnssStatusdirectly from known satellite info.static GnssStatusBuildercreate()Deprecated.Creates a newGnssStatusBuilder.
-
Method Details
-
create
Deprecated.Creates a newGnssStatusBuilder. -
addSatellite
Deprecated.Adds a satellite to theGnssStatusbeing built. -
addAllSatellites
public GnssStatusBuilder addAllSatellites(Collection<GnssStatusBuilder.GnssSatelliteInfo> satelliteInfos)Deprecated.Adds a collection of satellites to theGnssStatusbeing built. -
build
Deprecated.Builds theGnssStatusfrom the satellites previously added. -
buildFrom
Deprecated.Convenience method to create aGnssStatusdirectly from known satellite info.
-