Class Overview
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.
|
[Expand]
Inherited Methods |
From class java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Is called before the object's memory is being reclaimed by the VM.
|
final
Class<? extends Object>
|
getClass()
Returns the unique instance of Class which represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
|
Public Methods
public
float
getAzimuth
()
Returns the azimuth of the satellite in degrees.
The azimuth can vary between 0 and 360.
public
float
getElevation
()
Returns the elevation of the satellite in degrees.
The elevation can vary between 0 and 90.
public
int
getPrn
()
Returns the PRN (pseudo-random number) for the satellite.
public
float
getSnr
()
Returns the signal to noise ratio for the satellite.
Returns
- the signal to noise ratio
public
boolean
hasAlmanac
()
Returns true if the GPS engine has almanac data for the satellite.
Returns
- true if the satellite has almanac data
public
boolean
hasEphemeris
()
Returns true if the GPS engine has ephemeris data for the satellite.
Returns
- true if the satellite has ephemeris data
public
boolean
usedInFix
()
Returns true if the satellite was used by the GPS engine when
calculating the most recent GPS fix.
Returns
- true if the satellite was used to compute the most recent fix.