|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocationSource
Coordinates data source for LocationMarker.
| Field Summary | |
|---|---|
static int |
STATUS_CANT_LOCATE
|
static int |
STATUS_CONNECTED
|
static int |
STATUS_CONNECTING
|
static int |
STATUS_CONNECTION_LOST
|
| Method Summary | |
|---|---|
void |
addLocationListener(LocationListener listener)
Add listener for location coordinates |
WgsPoint |
getLocation()
|
LocationMarker |
getLocationMarker()
Get location marker used on screen |
int |
getStatus()
Get status code for location source. |
void |
quit()
Quit location polling |
void |
setLocationMarker(LocationMarker marker)
Set location marker where to push location updates |
void |
start()
Start location polling |
| Field Detail |
|---|
static final int STATUS_CONNECTING
static final int STATUS_CONNECTED
static final int STATUS_CONNECTION_LOST
static final int STATUS_CANT_LOCATE
| Method Detail |
|---|
int getStatus()
WgsPoint getLocation()
void setLocationMarker(LocationMarker marker)
marker - marker displayed on screenLocationMarker getLocationMarker()
void start()
void quit()
void addLocationListener(LocationListener listener)
listener - listener to be added
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||