Package com.navmii.sdk.traffic
Interface TrafficManager
-
- All Known Implementing Classes:
TrafficManager.CppProxy
public interface TrafficManager
Interface providing access to the latest traffic around the GPS coordinates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TrafficManager.CppProxy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTrafficNearPositionListener(TrafficNearPositionListener listener)
Adds listener to be notified about traffic updates.void
removeTrafficNearPositionListener(TrafficNearPositionListener listener)
Removes listener to be notified about traffic updates.TrafficSnapshot
trafficNearCurrentPosition()
Returns the latest traffic snapshot around the current GPS coordinates if available and null otherwise.
-
-
-
Method Detail
-
trafficNearCurrentPosition
TrafficSnapshot trafficNearCurrentPosition()
Returns the latest traffic snapshot around the current GPS coordinates if available and null otherwise.
-
addTrafficNearPositionListener
void addTrafficNearPositionListener(TrafficNearPositionListener listener)
Adds listener to be notified about traffic updates.- Parameters:
listener
- Listener to add.
-
removeTrafficNearPositionListener
void removeTrafficNearPositionListener(TrafficNearPositionListener listener)
Removes listener to be notified about traffic updates.- Parameters:
listener
- Listener to remove
-
-