GnssAntennaInfo.Builder
public
static
class
GnssAntennaInfo.Builder
extends Object
java.lang.Object | |
↳ | android.location.GnssAntennaInfo.Builder |
Builder class for GnssAntennaInfo.
Summary
Public constructors | |
---|---|
Builder()
This constructor is deprecated.
Prefer |
|
Builder(GnssAntennaInfo antennaInfo)
|
|
Builder(double carrierFrequencyMHz, GnssAntennaInfo.PhaseCenterOffset phaseCenterOffset)
|
Public methods | |
---|---|
GnssAntennaInfo
|
build()
Build GnssAntennaInfo object. |
GnssAntennaInfo.Builder
|
setCarrierFrequencyMHz(double carrierFrequencyMHz)
Set antenna carrier frequency (MHz). |
GnssAntennaInfo.Builder
|
setPhaseCenterOffset(GnssAntennaInfo.PhaseCenterOffset phaseCenterOffset)
Set antenna phase center offset. |
GnssAntennaInfo.Builder
|
setPhaseCenterVariationCorrections(GnssAntennaInfo.SphericalCorrections phaseCenterVariationCorrections)
Set phase center variation corrections. |
GnssAntennaInfo.Builder
|
setSignalGainCorrections(GnssAntennaInfo.SphericalCorrections signalGainCorrections)
Set signal gain corrections. |
Inherited methods | |
---|---|
Public constructors
Builder
public Builder ()
This constructor is deprecated.
Prefer Builder(double, android.location.GnssAntennaInfo.PhaseCenterOffset)
.
Builder
public Builder (GnssAntennaInfo antennaInfo)
Parameters | |
---|---|
antennaInfo |
GnssAntennaInfo : This value cannot be null . |
Builder
public Builder (double carrierFrequencyMHz, GnssAntennaInfo.PhaseCenterOffset phaseCenterOffset)
Parameters | |
---|---|
carrierFrequencyMHz |
double |
phaseCenterOffset |
GnssAntennaInfo.PhaseCenterOffset : This value cannot be null . |
Public methods
build
public GnssAntennaInfo build ()
Build GnssAntennaInfo object.
Returns | |
---|---|
GnssAntennaInfo |
instance of GnssAntennaInfo
This value cannot be null . |
setCarrierFrequencyMHz
public GnssAntennaInfo.Builder setCarrierFrequencyMHz (double carrierFrequencyMHz)
Set antenna carrier frequency (MHz).
Parameters | |
---|---|
carrierFrequencyMHz |
double : antenna carrier frequency (MHz)
Value is 0.0f or greater |
Returns | |
---|---|
GnssAntennaInfo.Builder |
Builder builder object
This value cannot be null . |
setPhaseCenterOffset
public GnssAntennaInfo.Builder setPhaseCenterOffset (GnssAntennaInfo.PhaseCenterOffset phaseCenterOffset)
Set antenna phase center offset.
Parameters | |
---|---|
phaseCenterOffset |
GnssAntennaInfo.PhaseCenterOffset : phase center offset object
This value cannot be null . |
Returns | |
---|---|
GnssAntennaInfo.Builder |
Builder builder object
This value cannot be null . |
setPhaseCenterVariationCorrections
public GnssAntennaInfo.Builder setPhaseCenterVariationCorrections (GnssAntennaInfo.SphericalCorrections phaseCenterVariationCorrections)
Set phase center variation corrections.
Parameters | |
---|---|
phaseCenterVariationCorrections |
GnssAntennaInfo.SphericalCorrections : phase center variation corrections object
This value may be null . |
Returns | |
---|---|
GnssAntennaInfo.Builder |
Builder builder object
This value cannot be null . |
setSignalGainCorrections
public GnssAntennaInfo.Builder setSignalGainCorrections (GnssAntennaInfo.SphericalCorrections signalGainCorrections)
Set signal gain corrections.
Parameters | |
---|---|
signalGainCorrections |
GnssAntennaInfo.SphericalCorrections : signal gain corrections object
This value may be null . |
Returns | |
---|---|
GnssAntennaInfo.Builder |
Builder builder object
This value cannot be null . |