Commit f580c0fc authored by Julian Zobel's avatar Julian Zobel
Browse files

Added Access to the targeted attraction point in the location sensor, needed...

Added Access to the targeted attraction point in the location sensor, needed for the flowchannel implementation in overlays
parent 6d13ba48
...@@ -27,10 +27,13 @@ import de.tudarmstadt.maki.simonstrator.api.component.sensor.SensorComponent; ...@@ -27,10 +27,13 @@ import de.tudarmstadt.maki.simonstrator.api.component.sensor.SensorComponent;
* Android Platform. Provides access to the last known location (energy * Android Platform. Provides access to the last known location (energy
* efficient) or QoS-Specifications for regular location updates. * efficient) or QoS-Specifications for regular location updates.
* *
* Also offers access to the target attraction point
*
* @see http * @see http
* ://developer.android.com/reference/com/google/android/gms/location/package * ://developer.android.com/reference/com/google/android/gms/location/package
* -summary.html * -summary.html
* @author Bjoern Richerzhagen * @author Bjoern Richerzhagen
* @author Julian Zobel
* *
*/ */
public interface LocationSensor extends SensorComponent { public interface LocationSensor extends SensorComponent {
...@@ -74,4 +77,11 @@ public interface LocationSensor extends SensorComponent { ...@@ -74,4 +77,11 @@ public interface LocationSensor extends SensorComponent {
*/ */
public LocationRequest getLocationRequest(); public LocationRequest getLocationRequest();
/**
* Retrieve the targeted {@link AttractionPoint}
*
* @return
*/
public AttractionPoint getCurrentTargetAttractionPoint();
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment