Builder
class Builder
kotlin.Any | |
↳ | android.location.GnssMeasurementsEvent.Builder |
Builder for GnssMeasurementsEvent
Summary
Public constructors | |
---|---|
Builder() Constructs a |
|
Builder(event: GnssMeasurementsEvent) Constructs a |
Public methods | |
---|---|
GnssMeasurementsEvent |
build() Builds a |
GnssMeasurementsEvent.Builder |
Clears the full tracking mode indicator. |
GnssMeasurementsEvent.Builder |
Sets the |
GnssMeasurementsEvent.Builder |
Sets the collection of |
GnssMeasurementsEvent.Builder |
setIsFullTracking(isFullTracking: Boolean) Sets whether the GNSS chipset was in the full tracking mode at the time this event was produced. |
GnssMeasurementsEvent.Builder |
setMeasurements(measurements: MutableCollection<GnssMeasurement!>) Sets the collection of |
Public constructors
Builder
Builder(event: GnssMeasurementsEvent)
Constructs a GnssMeasurementsEvent.Builder
instance by copying a GnssMeasurementsEvent
.
Parameters | |
---|---|
event |
GnssMeasurementsEvent: This value cannot be null . |
Public methods
build
fun build(): GnssMeasurementsEvent
Builds a GnssMeasurementsEvent
instance as specified by this builder.
Return | |
---|---|
GnssMeasurementsEvent |
This value cannot be null . |
clearIsFullTracking
fun clearIsFullTracking(): GnssMeasurementsEvent.Builder
Clears the full tracking mode indicator.
Return | |
---|---|
GnssMeasurementsEvent.Builder |
This value cannot be null . |
setClock
fun setClock(clock: GnssClock): GnssMeasurementsEvent.Builder
Sets the GnssClock
.
Parameters | |
---|---|
clock |
GnssClock: This value cannot be null . |
Return | |
---|---|
GnssMeasurementsEvent.Builder |
This value cannot be null . |
setGnssAutomaticGainControls
fun setGnssAutomaticGainControls(agcs: MutableCollection<GnssAutomaticGainControl!>): GnssMeasurementsEvent.Builder
Sets the collection of GnssAutomaticGainControl
.
Parameters | |
---|---|
agcs |
MutableCollection<GnssAutomaticGainControl!>: This value cannot be null . |
Return | |
---|---|
GnssMeasurementsEvent.Builder |
This value cannot be null . |
setIsFullTracking
fun setIsFullTracking(isFullTracking: Boolean): GnssMeasurementsEvent.Builder
Sets whether the GNSS chipset was in the full tracking mode at the time this event was produced. True indicates that this event was produced while the chipset was in full tracking mode, ie, the GNSS chipset switched off duty cycling. In this mode, no clock discontinuities are expected and, when supported, carrier phase should be continuous in good signal conditions. All non-blocklisted, healthy constellations, satellites and frequency bands that are meaningful to positioning accuracy must be tracked and reported in this mode. False indicates that the GNSS chipset may optimize power via duty cycling, constellations and frequency limits, etc.
Return | |
---|---|
GnssMeasurementsEvent.Builder |
This value cannot be null . |
setMeasurements
fun setMeasurements(measurements: MutableCollection<GnssMeasurement!>): GnssMeasurementsEvent.Builder
Sets the collection of GnssMeasurement
.
Parameters | |
---|---|
measurements |
MutableCollection<GnssMeasurement!>: This value cannot be null . |
Return | |
---|---|
GnssMeasurementsEvent.Builder |
This value cannot be null . |