NavigationManager

Class managing navigation events.

Types

Link copied to clipboard
interface AudioBetterRouteListener : NavigationManager.AudioEventListener
Provides audio information about better route.
Link copied to clipboard
interface AudioIncidentListener : NavigationManager.AudioEventListener
Provides audio notification about incident.
Link copied to clipboard
interface AudioInstructionListener : NavigationManager.AudioEventListener
Provides navigation audio instructions.
Link copied to clipboard
interface AudioRailwayCrossingListener : NavigationManager.AudioEventListener
Provides audio notification about railway crossing .
Link copied to clipboard
interface AudioSharpCurveListener : NavigationManager.AudioEventListener
Provides audio notification about sharp curve.
Link copied to clipboard
interface AudioSpeedLimitListener : NavigationManager.AudioEventListener
Provides audio notification about speed limit.
Link copied to clipboard
interface AudioTrafficListener : NavigationManager.AudioEventListener
Provides audio notification about traffic.
Link copied to clipboard
interface AudioTrafficSignListener : NavigationManager.AudioEventListener
Provides audio warning about upcoming traffic signs on or in vicinity of projected trajectory
Link copied to clipboard
interface AudioTruckAidListener : NavigationManager.AudioEventListener
Provides audio warning about upcoming restriction on or in vicinity of projected trajectory
Link copied to clipboard
interface AudioVehicleAidListener : NavigationManager.AudioEventListener
Provides audio warning about upcoming restriction on or in vicinity of projected trajectory
Link copied to clipboard
interface AudioVehicleZoneListener : NavigationManager.AudioEventListener
Provides audio warning about current restriction on or in vicinity of projected trajectory
Link copied to clipboard
interface JunctionPassedListener : NavigationManager.RouteEventNotificationListener
Provides callback of passed junction related events.
Link copied to clipboard
annotation class NotifType
Link copied to clipboard
interface OnBatteryCapacityListener : NavigationManager.RouteEventNotificationListener
Provides callback of battery capacity changes in kWh from NavigationManager.
Link copied to clipboard
interface OnBetterRouteListener : NativeMethodsReceiver.NativeListener
Provides callback of data related events from NavigationManager.
Link copied to clipboard
interface OnDirectionListener : NavigationManager.RouteEventNotificationListener
Provides callback of direction changed related events from NavigationManager.
Link copied to clipboard
interface OnHighwayExitListener : NavigationManager.RouteEventNotificationListener
Provides callback of highway exit related events from NavigationManager.
Link copied to clipboard
interface OnIncidentListener : NavigationManager.RouteEventNotificationListener
Provides callback of incident related events from NavigationManager.
Link copied to clipboard
interface OnLaneListener : NavigationManager.RouteEventNotificationListener
Provides callback of lanes related events from NavigationManager.
Link copied to clipboard
interface OnPlaceListener : NavigationManager.RouteEventNotificationListener
Provides callback of place on route info related events from NavigationManager.
Link copied to clipboard
interface OnRailwayCrossingListener : NavigationManager.RouteEventNotificationListener
Provides callback of railway related events from NavigationManager.
Link copied to clipboard
interface OnRouteChangedListener : NativeMethodsReceiver.NativeListener
Provides callback of route changed related events from NavigationManager.
Link copied to clipboard
Provides callback of route recompute progress related events from NavigationManager.
Link copied to clipboard
interface OnSharpCurveListener : NavigationManager.RouteEventNotificationListener
Provides callback of curve info related events from NavigationManager.
Link copied to clipboard
interface OnSignpostListener : NavigationManager.RouteEventNotificationListener
Provides callback of navi sign changed related events from NavigationManager.
Link copied to clipboard
interface OnSpeedLimitListener : NavigationManager.RouteEventNotificationListener
Provides callback of speed warning related events from NavigationManager.
Link copied to clipboard
interface OnTrafficChangedListener : NativeMethodsReceiver.NativeListener
Provides callback of traffic related events from NavigationManager.
Link copied to clipboard
interface OnTrafficSignListener : NavigationManager.RouteEventNotificationListener
Provides callback of traffic sign feature related events.
Link copied to clipboard
interface OnVehicleAidListener : NavigationManager.RouteEventNotificationListener
Provides callback of Vehicle Aid feature related events.
Link copied to clipboard
interface OnVehicleZoneListener : NavigationManager.RouteEventNotificationListener
Provides callback of Zone feature related events.
Link copied to clipboard
interface OnWaypointOutOfRangeListener : NavigationManager.RouteEventNotificationListener
Provides callback of battery capacity needed to reach finish in kWh when finish is out of range from NavigationManager.
Link copied to clipboard
interface OnWaypointPassListener : NavigationManager.RouteEventNotificationListener
Provides callback of waypoint related events from NavigationManager.
Link copied to clipboard
annotation class RouteRecomputeStatus
Link copied to clipboard
annotation class RouteUpdateStatus
Link copied to clipboard
interface StreetChangedListener : NavigationManager.RouteEventNotificationListener
Provides callback of street changed realted events
Link copied to clipboard
interface TruckAidListener : NavigationManager.RouteEventNotificationListener
Provides callback of Truck Aid feature related events.

Functions

Link copied to clipboard
open fun addJunctionPassedListener(listener: NavigationManager.JunctionPassedListener)
open fun addJunctionPassedListener(listener: NavigationManager.JunctionPassedListener, @Nullable executor: Executor)
Link copied to clipboard
open fun addOnBatteryCapacityListener(listener: NavigationManager.OnBatteryCapacityListener)
open fun addOnBatteryCapacityListener(listener: NavigationManager.OnBatteryCapacityListener, @Nullable executor: Executor)
Add a OnBatteryCapacityListener to NavigationManager to subscribe to battery capacity changes.
Link copied to clipboard
open fun addOnBetterRouteListener(listener: NavigationManager.OnBetterRouteListener)
open fun addOnBetterRouteListener(listener: NavigationManager.OnBetterRouteListener, @Nullable executor: Executor)
Add a OnBetterRouteListener to NavigationManager to subscribe for better route event(s).
Link copied to clipboard
open fun addOnDirectionListener(listener: NavigationManager.OnDirectionListener)
open fun addOnDirectionListener(listener: NavigationManager.OnDirectionListener, @Nullable executor: Executor)
Add a OnDirectionListener to NavigationManager to subscribe to direction changed event(s).
Link copied to clipboard
open fun addOnHighwayExitListener(listener: NavigationManager.OnHighwayExitListener)
open fun addOnHighwayExitListener(listener: NavigationManager.OnHighwayExitListener, @Nullable executor: Executor)
Add a OnHighwayExitListener to NavigationManager to subscribe to highway exit event(s).
Link copied to clipboard
open fun addOnIncidentListener(listener: NavigationManager.OnIncidentListener)
open fun addOnIncidentListener(listener: NavigationManager.OnIncidentListener, @Nullable executor: Executor)
Add a OnIncidentListener to NavigationManager to subscribe to incident event(s).
Link copied to clipboard
open fun addOnLaneListener(listener: NavigationManager.OnLaneListener)
open fun addOnLaneListener(listener: NavigationManager.OnLaneListener, @Nullable executor: Executor)
Add a OnLaneListener to NavigationManager to subscribe to lane event(s).
Link copied to clipboard
open fun addOnPlaceListener(listener: NavigationManager.OnPlaceListener)
open fun addOnPlaceListener(listener: NavigationManager.OnPlaceListener, @Nullable executor: Executor)
Add a OnPlaceListener to NavigationManager to subscribe to nearby poi on route data event(s).
Link copied to clipboard
open fun addOnRailwayCrossingListener(listener: NavigationManager.OnRailwayCrossingListener)
open fun addOnRailwayCrossingListener(listener: NavigationManager.OnRailwayCrossingListener, @Nullable executor: Executor)
Add a OnRailwayCrossingListener to NavigationManager to subscribe to railway event(s).
Link copied to clipboard
open fun addOnRouteChangedListener(listener: NavigationManager.OnRouteChangedListener)
open fun addOnRouteChangedListener(listener: NavigationManager.OnRouteChangedListener, @Nullable executor: Executor)
Add a OnRouteChangedListener to NavigationManager to subscribe to route changed event(s).
Link copied to clipboard
Add a OnRouteRecomputeProgressListener to NavigationManager to subscribe to route recompute progress event(s).
Link copied to clipboard
open fun addOnSharpCurveListener(listener: NavigationManager.OnSharpCurveListener)
open fun addOnSharpCurveListener(listener: NavigationManager.OnSharpCurveListener, @Nullable executor: Executor)
Add a OnSharpCurveListener to NavigationManager to subscribe to sharp curve event(s).
Link copied to clipboard
open fun addOnSignpostListener(listener: NavigationManager.OnSignpostListener)
open fun addOnSignpostListener(listener: NavigationManager.OnSignpostListener, @Nullable executor: Executor)
Add a OnSignpostListener to NavigationManager to subscribe to navi sign event(s).
Link copied to clipboard
open fun addOnSpeedLimitListener(listener: NavigationManager.OnSpeedLimitListener)
open fun addOnSpeedLimitListener(listener: NavigationManager.OnSpeedLimitListener, @Nullable executor: Executor)
Add a OnSpeedLimitListener to NavigationManager to subscribe to speed limit event(s).
Link copied to clipboard
open fun addOnTrafficChangedListener(listener: NavigationManager.OnTrafficChangedListener)
open fun addOnTrafficChangedListener(listener: NavigationManager.OnTrafficChangedListener, @Nullable executor: Executor)
Add a OnTrafficChangedListener to NavigationManager to subscribe to traffic data event(s).
Link copied to clipboard
open fun addOnTrafficSignListener(@NonNull listener: NavigationManager.OnTrafficSignListener)
open fun addOnTrafficSignListener(@NonNull listener: NavigationManager.OnTrafficSignListener, @Nullable executor: Executor)
Link copied to clipboard
open fun addOnVehicleAidListener(@NonNull listener: NavigationManager.OnVehicleAidListener)
open fun addOnVehicleAidListener(@NonNull listener: NavigationManager.OnVehicleAidListener, @Nullable executor: Executor)
Link copied to clipboard
open fun addOnVehicleZoneListener(@NonNull listener: NavigationManager.OnVehicleZoneListener)
open fun addOnVehicleZoneListener(@NonNull listener: NavigationManager.OnVehicleZoneListener, @Nullable executor: Executor)
Link copied to clipboard
open fun addOnWaypointOutOfRangeListener(listener: NavigationManager.OnWaypointOutOfRangeListener, @Nullable executor: Executor)
Add a OnWaypointOutOfRangeListener to NavigationManager to subscribe to finish out of ev range notification.
Link copied to clipboard
open fun addOnWaypointPassListener(listener: NavigationManager.OnWaypointPassListener)
open fun addOnWaypointPassListener(listener: NavigationManager.OnWaypointPassListener, @Nullable executor: Executor)
Add a OnWaypointPassListener to NavigationManager to subscribe to waypoint event(s).
Link copied to clipboard
open fun addStreetChangedListener(listener: NavigationManager.StreetChangedListener)
open fun addStreetChangedListener(listener: NavigationManager.StreetChangedListener, @Nullable executor: Executor)
Link copied to clipboard
open fun addTruckAidListener(listener: NavigationManager.TruckAidListener)
open fun addTruckAidListener(listener: NavigationManager.TruckAidListener, @Nullable executor: Executor)
Link copied to clipboard
open fun getCurrentEVProfile(): EVProfile
Link copied to clipboard
open fun getCurrentRoute(): Route
Returns route which was set calling setRouteForNavigation or was set after automatic recompute
Link copied to clipboard
open fun getCurrentRouteWaypoints(): List<Waypoint>
Returns all waypoints on current route
Link copied to clipboard
open fun getCurrentStreetDetail(@NonNull listener: OnStreetDetailListener)
Returns StreetDetail containing information about next junction.
Link copied to clipboard
open fun getRouteProgress(): RouteProgress
Returns info about current navigation route.
Link copied to clipboard
open fun getSettings(type: Int): RouteEventNotificationsSettings
Link copied to clipboard
open fun onContextDestroy()
Link copied to clipboard
open fun removeJunctionPassedListener(listener: NavigationManager.JunctionPassedListener)
Link copied to clipboard
Remove a OnBatteryCapacityListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnBetterRouteListener(listener: NavigationManager.OnBetterRouteListener)
Remove a OnBetterRouteListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnDirectionListener(listener: NavigationManager.OnDirectionListener)
Remove a OnDirectionListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnHighwayExitListener(listener: NavigationManager.OnHighwayExitListener)
Remove a OnHighwayExitListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnIncidentListener(listener: NavigationManager.OnIncidentListener)
Remove a OnIncidentListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnLaneListener(listener: NavigationManager.OnLaneListener)
Remove a OnLaneListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnPlaceListener(listener: NavigationManager.OnPlaceListener)
Remove a OnPlaceListener previously added to NavigationManager.
Link copied to clipboard
Remove a OnRailwayCrossingListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnRouteChangedListener(listener: NavigationManager.OnRouteChangedListener)
Remove a OnRouteChangedListener previously added to NavigationManager.
Link copied to clipboard
Remove a OnRouteRecomputeProgressListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnSharpCurveListener(listener: NavigationManager.OnSharpCurveListener)
Remove a OnSharpCurveListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnSignpostListener(listener: NavigationManager.OnSignpostListener)
Remove a OnSignpostListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnSpeedLimitListener(listener: NavigationManager.OnSpeedLimitListener)
Remove a OnSpeedLimitListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnTrafficChangedListener(listener: NavigationManager.OnTrafficChangedListener)
Remove a OnTrafficChangedListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnTrafficSignListener(@NonNull listener: NavigationManager.OnTrafficSignListener)
Link copied to clipboard
open fun removeOnVehicleAidListener(@NonNull listener: NavigationManager.OnVehicleAidListener)
Link copied to clipboard
open fun removeOnVehicleZoneListener(@NonNull listener: NavigationManager.OnVehicleZoneListener)
Link copied to clipboard
Remove a OnWaypointOutOfRangeListener previously added to NavigationManager.
Link copied to clipboard
open fun removeOnWaypointPassListener(listener: NavigationManager.OnWaypointPassListener)
Remove a OnWaypointPassListener previously added to NavigationManager.
Link copied to clipboard
open fun removeStreetChangedListener(listener: NavigationManager.StreetChangedListener)
Link copied to clipboard
open fun removeTruckAidListener(listener: NavigationManager.TruckAidListener)
Link copied to clipboard
open fun replayLastAudioInstruction()
Replay last audio instruction.
Link copied to clipboard
open fun setAudioBetterRouteListener(listener: NavigationManager.AudioBetterRouteListener)
Link copied to clipboard
open fun setAudioIncidentListener(listener: NavigationManager.AudioIncidentListener)
Link copied to clipboard
open fun setAudioInstructionListener(listener: NavigationManager.AudioInstructionListener)
Link copied to clipboard
Link copied to clipboard
open fun setAudioSharpCurveListener(listener: NavigationManager.AudioSharpCurveListener)
Link copied to clipboard
open fun setAudioSpeedLimitListener(listener: NavigationManager.AudioSpeedLimitListener)
Link copied to clipboard
open fun setAudioTrafficListener(listener: NavigationManager.AudioTrafficListener)
Link copied to clipboard
Link copied to clipboard
open fun setAudioVehicleAidListener(@Nullable listener: NavigationManager.AudioVehicleAidListener)
Link copied to clipboard
Link copied to clipboard
open fun setBatteryStatusUpdateEnabled(enabled: Boolean)
Enable or disable receiving updates to battery capacity changes.
Link copied to clipboard
open fun setCurrentEVProfile(@Nullable profile: EVProfile)
Sets EV profile to be used by navigation.
Link copied to clipboard
open fun setRouteForNavigation(route: Route): Boolean
Sets the route for navigation.
Link copied to clipboard
open fun stopNavigation()
Stops the current navigation.