de.monarchy.guideme.data
Class PositionListener
java.lang.Object
de.monarchy.guideme.data.PositionListener
public class PositionListener
- extends java.lang.Object
PositionListener is an internal class implementing interfaces for sensor and
location events. It is bound to a PL service and feeds it with information
about changes in location and orientation. Its only purpose is to work as an
adapter class.
- Author:
- dstuerze
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PositionListener
public PositionListener(PersonalLocation p)
- Creates a new listener object for this particular PersonalLocation.
- Parameters:
p
- service the listener is applied to
onAccuracyChanged
public void onAccuracyChanged(Sensor arg0,
int arg1)
onSensorChanged
public void onSensorChanged(SensorEvent event)
onLocationChanged
public void onLocationChanged(Location arg0)
onProviderDisabled
public void onProviderDisabled(java.lang.String arg0)
onProviderEnabled
public void onProviderEnabled(java.lang.String arg0)
onStatusChanged
public void onStatusChanged(java.lang.String arg0,
int arg1,
Bundle arg2)