# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Ctors | Methods | Inherited Methods

# 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(double, android.location.GnssAntennaInfo.PhaseCenterOffset)`.
`Builder(double carrierFrequencyMHz, GnssAntennaInfo.PhaseCenterOffset phaseCenterOffset)`
`Builder(GnssAntennaInfo antennaInfo)`

### 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
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Public constructors

### Builder

    public Builder ()

This constructor is deprecated.
Prefer `Builder(double, android.location.GnssAntennaInfo.PhaseCenterOffset)`.

### Builder

    public Builder (double carrierFrequencyMHz,
                    GnssAntennaInfo.PhaseCenterOffset phaseCenterOffset)

Parameters
`carrierFrequencyMHz` | `double`
`phaseCenterOffset` | `GnssAntennaInfo.PhaseCenterOffset`: This value cannot be `null`.

### Builder

    public Builder (GnssAntennaInfo antennaInfo)

Parameters
`antennaInfo` | `GnssAntennaInfo`: 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`.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*