Package org.robolectric.shadows
Class GnssStatusBuilder
java.lang.Object
org.robolectric.shadows.GnssStatusBuilder
Deprecated.
Builder for
GnssStatus objects, since they have a hidden constructor.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Information about a single satellite in aGnssStatus. -
Method Summary
Modifier and TypeMethodDescriptionaddAllSatellites(Collection<GnssStatusBuilder.GnssSatelliteInfo> satelliteInfos) Deprecated.Adds a collection of satellites to theGnssStatusbeing built.addSatellite(GnssStatusBuilder.GnssSatelliteInfo satelliteInfo) Deprecated.Adds a satellite to theGnssStatusbeing built.build()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.
-
GnssStatus.Builderinstead where possible.