RoutesObserver

fun interface RoutesObserver

Interface definition for an observer that gets notified whenever a list of maintained routes changes.

Functions

Link copied to clipboard
abstract fun onRoutesChanged(result: RoutesUpdatedResult)

Invoked whenever a list of routes changes and immediately when registered (see MapboxNavigation.registerRoutesObserver) if non-empty routes are present.