Package org.robolectric.shadows
Class GnssStatusBuilder
- java.lang.Object
-
- org.robolectric.shadows.GnssStatusBuilder
-
@Deprecated public final class GnssStatusBuilder extends Object
Deprecated.UseGnssStatus.Builder
instead where possible.Builder forGnssStatus
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 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 Detail
-
create
public static GnssStatusBuilder create()
Deprecated.Creates a newGnssStatusBuilder
.
-
addSatellite
public GnssStatusBuilder addSatellite(GnssStatusBuilder.GnssSatelliteInfo satelliteInfo)
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
public GnssStatus build()
Deprecated.Builds theGnssStatus
from the satellites previously added.
-
buildFrom
public static GnssStatus buildFrom(GnssStatusBuilder.GnssSatelliteInfo... satelliteInfos)
Deprecated.Convenience method to create aGnssStatus
directly from known satellite info.
-
-