|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GpsDataListener
Implementors of this interface can be notified when GPS data is updated.
| Method Summary | |
|---|---|
void |
gpsDataUpdated(GPSDistributor distributor,
GpsFix currentFix,
boolean isLocal,
java.lang.String source)
Called by the GPSDistributor when the GPS data has been updated. |
void |
satDataUpdated(GPSDistributor distributor,
SatelliteCatalog satCatalog,
boolean isLocal,
java.lang.String source)
Called when the satellite constellation in use changes. |
| Method Detail |
|---|
void gpsDataUpdated(GPSDistributor distributor,
GpsFix currentFix,
boolean isLocal,
java.lang.String source)
distributor - instance of the GPSDistributorcurrentFix - current position data reported by the local GPSisLocal - boolean true if this is GPS data for the local station, false if for a remote GPS receiversource - String name assigned to remote GPS receiver, or null if for the local receiver
void satDataUpdated(GPSDistributor distributor,
SatelliteCatalog satCatalog,
boolean isLocal,
java.lang.String source)
distributor - instance of the GPSDistributorsatCatalog - updated SatelliteCatalog instanceisLocal - boolean true if this is GPS data for the local station, false if for a remote GPS receiversource - String name assigned to remote GPS receiver, or null if for the local receiver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||