HERE Android SDK Developer's Guide

Listener

The interface Listener is a member of com.here.android.mpa.guidance.NavigationManager.RoadView.

Interface Summary

public static abstract interface NavigationManager.RoadView.Listener

Interface to report RoadView events.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in Listener
Methods

public abstract void onPositionChanged (GeoCoordinate geoCoordinate)

Callback when the position used by Road View has been changed.

Interface Details

Interface to report RoadView events.

Method Details

public abstract void onPositionChanged (GeoCoordinate geoCoordinate)

Callback when the position used by Road View has been changed. The main use case of this callback is for position indicator updates if client decides to implement their own for navigation with RoadView. This ensures a smooth tranistion of the indicator along with map movements as the operation is synchronized. Note:: please do not perform a synchronized map redraw with this position update as this callback is within the scope of navigation manager's poll which is already doing a synchronized redraw. Any additional blocking operation will cause a deadlock.

Parameters:

  • geoCoordinate