|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GpsStatusListener
Used for receiving notifications from the SensorManager when sensor values have changed.
| Method Summary | |
|---|---|
void |
onFirstFix(int ttff)
Called when the GPS status has received its first fix since starting. |
void |
onGpsStarted()
Called when the GPS has started. |
void |
onGpsStopped()
Called when the GPS has stopped. |
void |
onSvStatusChanged(int svCount,
int[] prns,
float[] snrs,
float[] elevations,
float[] azimuths,
int ephemerisMask,
int almanacMask,
int usedInFixMask)
Called when the GPS SV status has changed. |
| Method Detail |
|---|
void onGpsStarted()
void onGpsStopped()
void onFirstFix(int ttff)
ttff - Time to first fix in milliseconds.
void onSvStatusChanged(int svCount,
int[] prns,
float[] snrs,
float[] elevations,
float[] azimuths,
int ephemerisMask,
int almanacMask,
int usedInFixMask)
svCount - The number of visible SVsprns - Array of SV prns. Length of array is svCount.snrs - Array of signal to noise ratios for SVs, in 1/10 dB units. Length of array is svCount.elevations - Array of SV elevations in degrees. Length of array is svCount.azimuths - Array of SV azimuths in degrees. Length of array is svCount.ephemerisMask - Bit mask indicating which SVs the GPS has ephemeris data for.almanacMask - Bit mask indicating which SVs the GPS has almanac data for.usedInFixMask - Bit mask indicating which SVs were used in the most recent GPS fix.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||