|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.location.LocationManager
public class LocationManager
Provides a public API for the location modules.
Constructor Summary | |
---|---|
LocationManager(Context context,
boolean ins,
boolean wifi)
Initializes the location system. |
Method Summary | |
---|---|
Point3 |
getDisplacement()
|
Point3 |
getPosition()
Returns the current position |
Lugar |
getWifiNode()
Returns the current wifi node information |
boolean |
isWalking()
Returns whether the user is walking or not |
void |
start()
Run the selected location systems |
void |
stop()
Stops the running location systems |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocationManager(Context context, boolean ins, boolean wifi)
context
- Application contextins
- Whether to use the inertial navigation systemwifi
- Whether to use the wifi positioning systemMethod Detail |
---|
public Point3 getDisplacement()
public Point3 getPosition()
public Lugar getWifiNode()
public boolean isWalking()
public void start()
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |