Interface for all iwlocationManagers. More...
Inheritance diagram for IwLocationManager:Public Member Functions | |
| void | addListener (IwLocationListener listener) |
| void | addNmeaListener (NmeaListener nmeaListener) |
| void | disableLocationUpdates () |
| void | doBestPossibleUpdate () |
| boolean | enableLocationUpdates () |
| Position | getCurrentWGS84Position () |
| String | getLocationProvider () |
| void | reInitLocationProvider () |
| void | removeListener (IwLocationListener listener) |
| void | setCurrentLocationNotFix () |
| void addListener | ( | IwLocationListener | listener | ) |
add location listener
@paramn listener - listener to add
Implemented in IwLocationManagerBase, and IwLocationManagerGPS.
| void addNmeaListener | ( | NmeaListener | nmeaListener | ) |
add NMEAListener
| nmeaListener | - listener to add |
Implemented in IwLocationManagerGPS, and IwLocationManagerLog.
| void disableLocationUpdates | ( | ) |
disable the location manager
Implemented in IwLocationManagerGPS, IwLocationManagerLog, and IwLocationManagerManual.
| void doBestPossibleUpdate | ( | ) |
location manager tries to determine the best possible location and updates the API
Implemented in IwLocationManagerGPS, IwLocationManagerLog, and IwLocationManagerManual.
| boolean enableLocationUpdates | ( | ) |
enable the location manager
Implemented in IwLocationManagerGPS, IwLocationManagerLog, and IwLocationManagerManual.
| Position getCurrentWGS84Position | ( | ) |
Implemented in IwLocationManagerBase.
| String getLocationProvider | ( | ) |
Implemented in IwLocationManagerGPS, IwLocationManagerLog, and IwLocationManagerManual.
| void reInitLocationProvider | ( | ) |
Search for best possible provider and calls disableLocationUpdates internal To get new location updates after this enableLocationUpdates must be called.
Implemented in IwLocationManagerGPS, IwLocationManagerLog, and IwLocationManagerManual.
| void removeListener | ( | IwLocationListener | listener | ) |
remove location listener
| listener | - listener to remove |
Implemented in IwLocationManagerBase.
| void setCurrentLocationNotFix | ( | ) |
pass the current location with bad to the api so that the position icon appears grey e.g. if there is no further GPS for a time or GPS gets deactivate this Method can be used to indicate
Implemented in IwLocationManagerBase.