Methods Summary |
---|
public float | getAzimuth()Returns the azimuth of the satellite in degrees.
The azimuth can vary between 0 and 360.
return mAzimuth;
|
public float | getElevation()Returns the elevation of the satellite in degrees.
The elevation can vary between 0 and 90.
return mElevation;
|
public int | getPrn()Returns the PRN (pseudo-random number) for the satellite.
return mPrn;
|
public float | getSnr()Returns the signal to noise ratio for the satellite.
return mSnr;
|
public boolean | hasAlmanac()Returns true if the GPS engine has almanac data for the satellite.
return mHasAlmanac;
|
public boolean | hasEphemeris()Returns true if the GPS engine has ephemeris data for the satellite.
return mHasEphemeris;
|
void | setStatus(android.location.GpsSatellite satellite)Used by {@link LocationManager#getGpsStatus} to copy LocationManager's
cached GpsStatus instance to the client's copy.
mValid = satellite.mValid;
mHasEphemeris = satellite.mHasEphemeris;
mHasAlmanac = satellite.mHasAlmanac;
mUsedInFix = satellite.mUsedInFix;
mSnr = satellite.mSnr;
mElevation = satellite.mElevation;
mAzimuth = satellite.mAzimuth;
|
public boolean | usedInFix()Returns true if the satellite was used by the GPS engine when
calculating the most recent GPS fix.
return mUsedInFix;
|