Interface CurrentSituationLaneAssistanceViewListener


public interface CurrentSituationLaneAssistanceViewListener

This interface should be implemented in order to receive notifications on CurrentSituationLaneAssistanceView.

The current situation lane assistance view notifications describe the lane information at the current location.

A new notification is evaluated with each location update. A notification is only sent when there is a change in lane data, such as a new upcoming lane.

This event is supported both with a route during turn-by-turn navigation and without a route in tracking mode. During turn-by-turn navigation, the event additionally indicates which lanes help the driver stay on the route to reach the destination. However, the event does not indicate which exact lane the user is currently driving in. The listener works for offline mode as well.

Note:

  • Lane information is not available for all roads. It's mostly available for roads with painted turn directions.
  • This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
  • Method Details

    • onCurrentSituationLaneAssistanceViewUpdate

      void onCurrentSituationLaneAssistanceViewUpdate(@NonNull CurrentSituationLaneAssistanceView lanes)

      The callback to be called.

      Parameters:
      lanes -

      Lane information on the road the user is currently driving on.