RoadNameObserver

abstract class RoadNameObserver(routeShieldApi: MapboxRouteShieldApi, mapUserStyleObserver: MapUserStyleObserver) : MapboxNavigationObserver

Constructors

Link copied to clipboard
fun RoadNameObserver(routeShieldApi: MapboxRouteShieldApi, mapUserStyleObserver: MapUserStyleObserver)

Functions

Link copied to clipboard
override fun onAttached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
override fun onDetached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
abstract fun onRoadUpdate(road: List<RoadComponent>, shields: List<RouteShield>)

Properties

Link copied to clipboard
var currentRoad: List<RoadComponent>
Link copied to clipboard
var currentShields: List<RouteShield>