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 BetterProposalAcceptanceMode is set to BetterProposalAcceptanceMode.Manual or BetterProposalAcceptanceMode.UnreachableOnly in NavigationConfiguration.

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

Parameters

listener

The listener to be registered.

See also

Throws

if listener is already added.