Interface TrafficNearPositionListener


  • public interface TrafficNearPositionListener
    Interface allowing to listen to traffic updates.
    • Method Detail

      • onTrafficNearCurrentPositionUpdated

        void onTrafficNearCurrentPositionUpdated​(TrafficSnapshot traffic)
        Is called once traffic near the current GPS coordinates was updated.
        Parameters:
        traffic - A snapshot of traffic around the current GPS coordinates.