# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Ctors | Methods | Inherited Methods

# GnssStatus.Builder

`public static final class GnssStatus.Builder`
`extends Object` ``

java.lang.Object
↳ | android.location.GnssStatus.Builder

Builder class to help create new GnssStatus instances.

## Summary

### Public constructors
`Builder()`

### Public methods
`GnssStatus.Builder` | `addSatellite(int constellationType, int svid, float cn0DbHz, float elevation, float azimuth, boolean hasEphemeris, boolean hasAlmanac, boolean usedInFix, boolean hasCarrierFrequency, float carrierFrequency, boolean hasBasebandCn0DbHz, float basebandCn0DbHz)` Adds a new satellite to the Builder.
`GnssStatus` | `build()` Builds a new GnssStatus based on the satellite information in the Builder.
`GnssStatus.Builder` | `clearSatellites()` Clears all satellites in the Builder.

### 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 ()

## Public methods

### addSatellite

    public GnssStatus.Builder addSatellite (int constellationType,
                    int svid,
                    float cn0DbHz,
                    float elevation,
                    float azimuth,
                    boolean hasEphemeris,
                    boolean hasAlmanac,
                    boolean usedInFix,
                    boolean hasCarrierFrequency,
                    float carrierFrequency,
                    boolean hasBasebandCn0DbHz,
                    float basebandCn0DbHz)

Adds a new satellite to the Builder.

Parameters
`constellationType` | `int`: one of the CONSTELLATION_* constants Value is `GnssStatus.CONSTELLATION_UNKNOWN`, `GnssStatus.CONSTELLATION_GPS`, `GnssStatus.CONSTELLATION_SBAS`, `GnssStatus.CONSTELLATION_GLONASS`, `GnssStatus.CONSTELLATION_QZSS`, `GnssStatus.CONSTELLATION_BEIDOU`, `GnssStatus.CONSTELLATION_GALILEO`, or `GnssStatus.CONSTELLATION_IRNSS`
`svid` | `int`: the space vehicle identifier Value is between 1 and 200 inclusive
`cn0DbHz` | `float`: carrier-to-noise density at the antenna in dB-Hz Value is between 0 and 63 inclusive
`elevation` | `float`: satellite elevation in degrees Value is between -90 and 90 inclusive
`azimuth` | `float`: satellite azimuth in degrees Value is between 0 and 360 inclusive
`hasEphemeris` | `boolean`: whether the satellite has ephemeris data
`hasAlmanac` | `boolean`: whether the satellite has almanac data
`usedInFix` | `boolean`: whether the satellite was used in the most recent location fix
`hasCarrierFrequency` | `boolean`: whether carrier frequency data is available
`carrierFrequency` | `float`: satellite carrier frequency in Hz Value is 0 or greater
`hasBasebandCn0DbHz` | `boolean`: whether baseband carrier-to-noise density is available
`basebandCn0DbHz` | `float`: baseband carrier-to-noise density in dB-Hz Value is between 0 and 63 inclusive

Returns
`GnssStatus.Builder` | This value cannot be `null`.

### build

    public GnssStatus build ()

Builds a new GnssStatus based on the satellite information in the Builder.

Returns
`GnssStatus` | This value cannot be `null`.

### clearSatellites

    public GnssStatus.Builder clearSatellites ()

Clears all satellites in the Builder.

Returns
`GnssStatus.Builder` | 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
*
*