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
Modifier and TypeClassDescriptionstatic class
Deprecated.Information about a single satellite in aGnssStatus
. -
Method Summary
Modifier and TypeMethodDescriptionaddAllSatellites
(Collection<GnssStatusBuilder.GnssSatelliteInfo> satelliteInfos) Deprecated.Adds a collection of satellites to theGnssStatus
being built.addSatellite
(GnssStatusBuilder.GnssSatelliteInfo satelliteInfo) Deprecated.Adds a satellite to theGnssStatus
being built.build()
Deprecated.Builds theGnssStatus
from the satellites previously added.static GnssStatus
buildFrom
(GnssStatusBuilder.GnssSatelliteInfo... satelliteInfos) Deprecated.Convenience method to create aGnssStatus
directly from known satellite info.static GnssStatusBuilder
create()
Deprecated.Creates a newGnssStatusBuilder
.
-
Method Details
-
create
Deprecated.Creates a newGnssStatusBuilder
. -
addSatellite
Deprecated.Adds a satellite to theGnssStatus
being built. -
addAllSatellites
public GnssStatusBuilder addAllSatellites(Collection<GnssStatusBuilder.GnssSatelliteInfo> satelliteInfos) Deprecated.Adds a collection of satellites to theGnssStatus
being built. -
build
Deprecated.Builds theGnssStatus
from the satellites previously added. -
buildFrom
Deprecated.Convenience method to create aGnssStatus
directly from known satellite info.
-
GnssStatus.Builder
instead where possible.