addReplannedRouteProposedListener

Adds an ReplannedRouteProposedListener which will report on the new ReplannedRoute. Its Route can be used for navigation by accepting this proposal using the acceptProposedRoute method. The listener will only be triggered if ContinuousReplanningMode is set to ContinuousReplanningMode.Manual or ContinuousReplanningMode.UnreachableOnly in NavigationConfiguration.

Important: This is a Public Preview API. It may be changed or removed at any time.

See also

Parameters

listener

The listener to be registered.

Throws

if listener is already added.