Interface RoadAttributesListener


public interface RoadAttributesListener

This interface should be implemented in order to receive attributes of the current road.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called whenever any attribute of the current road changes.
  • Method Details

    • onRoadAttributesUpdated

      void onRoadAttributesUpdated(@NonNull RoadAttributes roadAttributes)

      Called whenever any attribute of the current road changes. It's guaranteed to be called at least once for the first road the user is traveling on.

      Parameters:
      roadAttributes -

      The object that contains attributes of the current road.