NavigationManager

Class managing navigation events.

Types

AudioBetterRouteListener
Link copied to clipboard
interface AudioBetterRouteListener : NavigationManager.AudioEventListener
Provides audio information about better route.
AudioIncidentListener
Link copied to clipboard
interface AudioIncidentListener : NavigationManager.AudioEventListener
Provides audio notification about incident.
AudioInstructionListener
Link copied to clipboard
interface AudioInstructionListener : NavigationManager.AudioEventListener
Provides navigation audio instructions.
AudioRailwayCrossingListener
Link copied to clipboard
interface AudioRailwayCrossingListener : NavigationManager.AudioEventListener
Provides audio notification about railway crossing .
AudioSharpCurveListener
Link copied to clipboard
interface AudioSharpCurveListener : NavigationManager.AudioEventListener
Provides audio notification about sharp curve.
AudioSpeedLimitListener
Link copied to clipboard
interface AudioSpeedLimitListener : NavigationManager.AudioEventListener
Provides audio notification about speed limit.
AudioTrafficListener
Link copied to clipboard
interface AudioTrafficListener : NavigationManager.AudioEventListener
Provides audio notification about traffic.
AudioTruckAidListener
Link copied to clipboard
interface AudioTruckAidListener : NavigationManager.AudioEventListener
Provides audio warning about upcoming restriction on or in vicinity of projected trajectory
JunctionPassedListener
Link copied to clipboard
interface JunctionPassedListener : NavigationManager.RouteEventNotificationListener
Provides callback of passed junction related events.
NotifType
Link copied to clipboard
annotation class NotifType
OnBatteryCapacityListener
Link copied to clipboard
interface OnBatteryCapacityListener : NavigationManager.RouteEventNotificationListener
Provides callback of battery capacity changes in kWh from NavigationManager.
OnBetterRouteListener
Link copied to clipboard
interface OnBetterRouteListener : NativeMethodsReceiver.NativeListener
Provides callback of data related events from NavigationManager.
OnDirectionListener
Link copied to clipboard
interface OnDirectionListener : NavigationManager.RouteEventNotificationListener
Provides callback of direction changed related events from NavigationManager.
OnHighwayExitListener
Link copied to clipboard
interface OnHighwayExitListener : NavigationManager.RouteEventNotificationListener
Provides callback of highway exit related events from NavigationManager.
OnIncidentListener
Link copied to clipboard
interface OnIncidentListener : NavigationManager.RouteEventNotificationListener
Provides callback of incident related events from NavigationManager.
OnLaneListener
Link copied to clipboard
interface OnLaneListener : NavigationManager.RouteEventNotificationListener
Provides callback of lanes related events from NavigationManager.
OnPlaceListener
Link copied to clipboard
interface OnPlaceListener : NavigationManager.RouteEventNotificationListener
Provides callback of place on route info related events from NavigationManager.
OnRailwayCrossingListener
Link copied to clipboard
interface OnRailwayCrossingListener : NavigationManager.RouteEventNotificationListener
Provides callback of railway related events from NavigationManager.
OnRouteChangedListener
Link copied to clipboard
interface OnRouteChangedListener : NativeMethodsReceiver.NativeListener
Provides callback of route changed related events from NavigationManager.
OnRouteRecomputeProgressListener
Link copied to clipboard
Provides callback of route recompute progress related events from NavigationManager.
OnSharpCurveListener
Link copied to clipboard
interface OnSharpCurveListener : NavigationManager.RouteEventNotificationListener
Provides callback of curve info related events from NavigationManager.
OnSignpostListener
Link copied to clipboard
interface OnSignpostListener : NavigationManager.RouteEventNotificationListener
Provides callback of navi sign changed related events from NavigationManager.
OnSpeedLimitListener
Link copied to clipboard
interface OnSpeedLimitListener : NavigationManager.RouteEventNotificationListener
Provides callback of speed warning related events from NavigationManager.
OnTrafficChangedListener
Link copied to clipboard
interface OnTrafficChangedListener : NativeMethodsReceiver.NativeListener
Provides callback of traffic related events from NavigationManager.
OnWaypointOutOfRangeListener
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.
OnWaypointPassListener
Link copied to clipboard
interface OnWaypointPassListener : NavigationManager.RouteEventNotificationListener
Provides callback of waypoint related events from NavigationManager.
RouteRecomputeStatus
Link copied to clipboard
annotation class RouteRecomputeStatus
RouteUpdateStatus
Link copied to clipboard
annotation class RouteUpdateStatus
StreetChangedListener
Link copied to clipboard
interface StreetChangedListener : NavigationManager.RouteEventNotificationListener
Provides callback of street changed realted events
TruckAidListener
Link copied to clipboard
interface TruckAidListener : NavigationManager.RouteEventNotificationListener
Provides callback of Truck Aid feature related events.

Functions

addJunctionPassedListener
Link copied to clipboard
open fun addJunctionPassedListener(listener: NavigationManager.JunctionPassedListener)
open fun addJunctionPassedListener(listener: NavigationManager.JunctionPassedListener, @Nullable executor: Executor)
addOnBatteryCapacityListener
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.
addOnBetterRouteListener
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).
addOnDirectionListener
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).
addOnHighwayExitListener
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).
addOnIncidentListener
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).
addOnLaneListener
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).
addOnPlaceListener
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).
addOnRailwayCrossingListener
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).
addOnRouteChangedListener
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).
addOnRouteRecomputeProgressListener
Link copied to clipboard
Add a OnRouteRecomputeProgressListener to NavigationManager to subscribe to route recompute progress event(s).
addOnSharpCurveListener
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).
addOnSignpostListener
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).
addOnSpeedLimitListener
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).
addOnTrafficChangedListener
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).
addOnWaypointOutOfRangeListener
Link copied to clipboard
Add a OnWaypointOutOfRangeListener to NavigationManager to subscribe to finish out of ev range notification.
addOnWaypointPassListener
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).
addStreetChangedListener
Link copied to clipboard
open fun addStreetChangedListener(listener: NavigationManager.StreetChangedListener)
open fun addStreetChangedListener(listener: NavigationManager.StreetChangedListener, @Nullable executor: Executor)
addTruckAidListener
Link copied to clipboard
open fun addTruckAidListener(listener: NavigationManager.TruckAidListener)
open fun addTruckAidListener(listener: NavigationManager.TruckAidListener, @Nullable executor: Executor)
getCurrentEVProfile
Link copied to clipboard
open fun getCurrentEVProfile(): EVProfile
getCurrentRoute
Link copied to clipboard
open fun getCurrentRoute(): Route
Returns route which was set calling setRouteForNavigation or was set after automatic recompute
getCurrentRouteWaypoints
Link copied to clipboard
open fun getCurrentRouteWaypoints(): List<Waypoint>
Returns all waypoints on current route
getCurrentStreetDetail
Link copied to clipboard
open fun getCurrentStreetDetail(@NonNull listener: OnStreetDetailListener)
Returns StreetDetail containing information about next junction.
getRouteProgress
Link copied to clipboard
open fun getRouteProgress(): RouteProgress
Returns info about current navigation route.
getSettings
Link copied to clipboard
open fun getSettings(type: Int): RouteEventNotificationsSettings
onContextDestroy
Link copied to clipboard
open fun onContextDestroy()
removeJunctionPassedListener
Link copied to clipboard
open fun removeJunctionPassedListener(listener: NavigationManager.JunctionPassedListener)
removeOnBatteryCapacityListener
Link copied to clipboard
Remove a OnBatteryCapacityListener previously added to NavigationManager.
removeOnBetterRouteListener
Link copied to clipboard
open fun removeOnBetterRouteListener(listener: NavigationManager.OnBetterRouteListener)
Remove a OnBetterRouteListener previously added to NavigationManager.
removeOnDirectionListener
Link copied to clipboard
open fun removeOnDirectionListener(listener: NavigationManager.OnDirectionListener)
Remove a OnDirectionListener previously added to NavigationManager.
removeOnHighwayExitListener
Link copied to clipboard
open fun removeOnHighwayExitListener(listener: NavigationManager.OnHighwayExitListener)
Remove a OnHighwayExitListener previously added to NavigationManager.
removeOnIncidentListener
Link copied to clipboard
open fun removeOnIncidentListener(listener: NavigationManager.OnIncidentListener)
Remove a OnIncidentListener previously added to NavigationManager.
removeOnLaneListener
Link copied to clipboard
open fun removeOnLaneListener(listener: NavigationManager.OnLaneListener)
Remove a OnLaneListener previously added to NavigationManager.
removeOnPlaceListener
Link copied to clipboard
open fun removeOnPlaceListener(listener: NavigationManager.OnPlaceListener)
Remove a OnPlaceListener previously added to NavigationManager.
removeOnRailwayCrossingListener
Link copied to clipboard
Remove a OnRailwayCrossingListener previously added to NavigationManager.
removeOnRouteChangedListener
Link copied to clipboard
open fun removeOnRouteChangedListener(listener: NavigationManager.OnRouteChangedListener)
Remove a OnRouteChangedListener previously added to NavigationManager.
removeOnRouteRecomputeProgressListener
Link copied to clipboard
Remove a OnRouteRecomputeProgressListener previously added to NavigationManager.
removeOnSharpCurveListener
Link copied to clipboard
open fun removeOnSharpCurveListener(listener: NavigationManager.OnSharpCurveListener)
Remove a OnSharpCurveListener previously added to NavigationManager.
removeOnSignpostListener
Link copied to clipboard
open fun removeOnSignpostListener(listener: NavigationManager.OnSignpostListener)
Remove a OnSignpostListener previously added to NavigationManager.
removeOnSpeedLimitListener
Link copied to clipboard
open fun removeOnSpeedLimitListener(listener: NavigationManager.OnSpeedLimitListener)
Remove a OnSpeedLimitListener previously added to NavigationManager.
removeOnTrafficChangedListener
Link copied to clipboard
open fun removeOnTrafficChangedListener(listener: NavigationManager.OnTrafficChangedListener)
Remove a OnTrafficChangedListener previously added to NavigationManager.
removeOnWaypointOutOfRangeListener
Link copied to clipboard
Remove a OnWaypointOutOfRangeListener previously added to NavigationManager.
removeOnWaypointPassListener
Link copied to clipboard
open fun removeOnWaypointPassListener(listener: NavigationManager.OnWaypointPassListener)
Remove a OnWaypointPassListener previously added to NavigationManager.
removeStreetChangedListener
Link copied to clipboard
open fun removeStreetChangedListener(listener: NavigationManager.StreetChangedListener)
removeTruckAidListener
Link copied to clipboard
open fun removeTruckAidListener(listener: NavigationManager.TruckAidListener)
replayLastAudioInstruction
Link copied to clipboard
open fun replayLastAudioInstruction()
Replay last audio instruction.
setAudioBetterRouteListener
Link copied to clipboard
open fun setAudioBetterRouteListener(listener: NavigationManager.AudioBetterRouteListener)
setAudioIncidentListener
Link copied to clipboard
open fun setAudioIncidentListener(listener: NavigationManager.AudioIncidentListener)
setAudioInstructionListener
Link copied to clipboard
open fun setAudioInstructionListener(listener: NavigationManager.AudioInstructionListener)
setAudioRailwayCrossingListener
Link copied to clipboard
setAudioSharpCurveListener
Link copied to clipboard
open fun setAudioSharpCurveListener(listener: NavigationManager.AudioSharpCurveListener)
setAudioSpeedLimitListener
Link copied to clipboard
open fun setAudioSpeedLimitListener(listener: NavigationManager.AudioSpeedLimitListener)
setAudioTrafficListener
Link copied to clipboard
open fun setAudioTrafficListener(listener: NavigationManager.AudioTrafficListener)
setBatteryStatusUpdateEnabled
Link copied to clipboard
open fun setBatteryStatusUpdateEnabled(enabled: Boolean)
Enable or disable receiving updates to battery capacity changes.
setCurrentEVProfile
Link copied to clipboard
open fun setCurrentEVProfile(@Nullable profile: EVProfile)
Sets EV profile to be used by navigation.
setRouteForNavigation
Link copied to clipboard
open fun setRouteForNavigation(route: Route): Boolean
Sets the route for navigation.
stopNavigation
Link copied to clipboard
open fun stopNavigation()
Stops the current navigation.