addOnReplannedRouteProposedListener

Adds an OnReplannedRouteProposedListener which will inform about new ReplannedRoute. Its Route can either be used in update or discarded. 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.