# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods | Inherited Methods

# GpsSatellite

`public final class GpsSatellite`
`extends Object` ``

java.lang.Object
↳ | android.location.GpsSatellite

This class is deprecated.
use `GnssStatus` and `GnssStatus.Callback`.

This class represents the current state of a GPS satellite. This class is used in conjunction with the `GpsStatus` class.

## Summary

### Public methods
`float` | `getAzimuth()` Returns the azimuth of the satellite in degrees.
`float` | `getElevation()` Returns the elevation of the satellite in degrees.
`int` | `getPrn()` Returns the PRN (pseudo-random number) for the satellite.
`float` | `getSnr()` Returns the signal to noise ratio for the satellite.
`boolean` | `hasAlmanac()` Returns true if the GPS engine has almanac data for the satellite.
`boolean` | `hasEphemeris()` Returns true if the GPS engine has ephemeris data for the satellite.
`boolean` | `usedInFix()` Returns true if the satellite was used by the GPS engine when calculating the most recent GPS fix.

### 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 methods

### getAzimuth

    public float getAzimuth ()

Returns the azimuth of the satellite in degrees. The azimuth can vary between 0 and 360.

Returns
`float` | the azimuth in degrees

### getElevation

    public float getElevation ()

Returns the elevation of the satellite in degrees. The elevation can vary between 0 and 90.

Returns
`float` | the elevation in degrees

### getPrn

    public int getPrn ()

Returns the PRN (pseudo-random number) for the satellite.

Returns
`int` | PRN number

### getSnr

    public float getSnr ()

Returns the signal to noise ratio for the satellite.

Returns
`float` | the signal to noise ratio

### hasAlmanac

    public boolean hasAlmanac ()

Returns true if the GPS engine has almanac data for the satellite.

Returns
`boolean` | true if the satellite has almanac data

### hasEphemeris

    public boolean hasEphemeris ()

Returns true if the GPS engine has ephemeris data for the satellite.

Returns
`boolean` | true if the satellite has ephemeris data

### usedInFix

    public boolean usedInFix ()

Returns true if the satellite was used by the GPS engine when calculating the most recent GPS fix.

Returns
`boolean` | true if the satellite was used to compute the most recent fix.

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