Interface TrafficManager

  • All Known Implementing Classes:
    TrafficManager.CppProxy

    public interface TrafficManager
    Interface providing access to the latest traffic around the GPS coordinates.
    • 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