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 class
GnssStatusBuilder.GnssSatelliteInfo
Deprecated.Information about a single satellite in aGnssStatus
. -
Method Summary
Modifier and Type Method Description GnssStatusBuilder
addAllSatellites(Collection<GnssStatusBuilder.GnssSatelliteInfo> satelliteInfos)
Deprecated.Adds a collection of satellites to theGnssStatus
being built.GnssStatusBuilder
addSatellite(GnssStatusBuilder.GnssSatelliteInfo satelliteInfo)
Deprecated.Adds a satellite to theGnssStatus
being built.GnssStatus
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.
-