Package com.mapbox.navigation.core.routealternatives
Types
Valid only until RoutesObserver or NavigationRouteAlternativesObserver fires again.
Valid only until RoutesObserver or NavigationRouteAlternativesObserver fires again.
Metadata of an alternative route in the current navigation session.
Interface definition for an observer that is notified whenever the Navigation SDK checks for alternative routes to the destination change.
Interface definition for a callback that is notified whenever alternatives routes are refreshed on demand.
This components replaces offline route by an online alternative when it's available. Under the hood it's requesting routes in cycle from the current position until the first successful result. Normally this job should be done by the SDK. The problem is that it currently relies on platform reachability/connectivity notifications. However some environments don't have working reachability/connectivity API. This class is a temporary workaround for those environments until we reimplement route alternatives logic so that it handles offline-online switch even if platform's reachability API doesn't work.
Provides a reason for a route alternatives request failure.
Interface definition for an observer that is notified whenever the Navigation SDK checks for alternative routes to the destination change.
Interface definition for a callback that is notified whenever alternatives routes are refreshed on demand.