Skip navigation links
A C D E G H I L M N O P R S T U 

A

addAlertLevelChangeListener(AlertLevelChangeListener) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Optionally, setup a alert change listener which will be notified when the user reaches a particular part of the route.
addNavigationEventListener(NavigationEventListener) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Optionally listen into when a new navigation event occurs.
addOffRouteListener(OffRouteListener) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
 
addProgressChangeListener(ProgressChangeListener) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Optionally, setup a progress change listener to be notified each time the users location has changed.
AlertLevelChangeListener - Interface in com.mapbox.services.android.navigation.v5.listeners
Listening in to the alertLevelChange is useful for correctly getting the timing of user notifications while the user is traversing along the route.
alertUserLevel() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
 
ARRIVE_ALERT_LEVEL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
 

C

capitalizeFirstLetter(String) - Static method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
 
change(String) - Method in interface com.mapbox.services.android.navigation.v5.osrm.TokenizedInstructionHook
 
com.mapbox.services.android.navigation.v5 - package com.mapbox.services.android.navigation.v5
 
com.mapbox.services.android.navigation.v5.listeners - package com.mapbox.services.android.navigation.v5.listeners
 
com.mapbox.services.android.navigation.v5.models - package com.mapbox.services.android.navigation.v5.models
 
com.mapbox.services.android.navigation.v5.osrm - package com.mapbox.services.android.navigation.v5.osrm
 
compile(LegStep) - Method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
 
create(RouteLeg, int, Position) - Static method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Constructor for the route leg routeProgress information.
create(DirectionsRoute, Position, int, int, int) - Static method in class com.mapbox.services.android.navigation.v5.RouteProgress
Constructor for the route routeProgress information.
currentLegProgress() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
 
currentStepProgress() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
 

D

DEAD_RECKONING_TIME_INTERVAL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
When calculating whether or not the user is on the route, we look where the user will be given their speed and this variable.
DEFAULT_OFF_ROUTE_THRESHOLD_KM - Static variable in class com.mapbox.services.android.navigation.v5.RouteUtils
 
DEPART_ALERT_LEVEL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
 
directionFromDegree(Double) - Method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
Transform degrees to their translated compass direction

E

endNavigation() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Call this method to end a navigation session before the user reaches their destination.
endNavigation() - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 

G

getAlertUserLevel() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Get the most recently provided alert level, this can and will only be one of the alert constants.
getClosestStep(Position, RouteLeg) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Get the closest routeLeg step to the given position.
getCurrentLeg() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Provides the current RouteLeg the user is on.
getCurrentLegProgress() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Gives a RouteLegProgress object with information about the particular leg the user is currently on.
getCurrentStep() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Returns the current step the user is traversing along.
getCurrentStepProgress() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Gives a RouteStepProgress object with information about the particular step the user is currently on.
getDeadReckoningTimeInterval() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current time interval being used to calculate dead reckoning values.
getDestination() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Get the current destination Position that will be used for the end of the route.
getDirectionsProfile() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the directions profile which will be used when requesting the route.
getDistanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Provides the duration remaining in seconds till the user reaches the end of the route.
getDistanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.models.RouteStepProgress
Total distance in meters from user to end of step.
getDistanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Provides the duration remaining in seconds till the user reaches the end of the route.
getDistanceToEndOfRoute(Position, DirectionsRoute, String) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Measures from the provided position (typically the user location), to the end of a DirectionsRoute.
getDistanceToEndOfRoute(Position, DirectionsRoute, int, String) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Measures from the provided position (typically the user location), to the end of a DirectionsRoute.
getDistanceToNextLeg(Position, RouteLeg, String, int) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Measures the distance from a position to the end of the given RouteLeg.
getDistanceToNextStep(Position, RouteLeg, int) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Measures the distance from a position to the end of the route step.
getDistanceToNextStep(Position, RouteLeg, int, String) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Measures the distance from a position to the end of the route step.
getDistanceToNextStep(Position, RouteLeg, int, String, int) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Measures the distance from a position to the end of the route step.
getDistanceToStep(Position, RouteLeg, int) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Computes the distance between the position and the closest point in routeLeg step.
getDistanceTraveled() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Total distance traveled in meters along current leg.
getDistanceTraveled() - Method in class com.mapbox.services.android.navigation.v5.models.RouteStepProgress
Returns distance user has traveled along current step in unit meters.
getDistanceTraveled() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Total distance traveled in meters along route.
getDurationRemaining() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Provides the duration remaining in seconds till the user reaches the end of the current step.
getDurationRemaining() - Method in class com.mapbox.services.android.navigation.v5.models.RouteStepProgress
Provides the duration remaining in seconds till the user reaches the end of the current step.
getDurationRemaining() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Provides the duration remaining in seconds till the user reaches the end of the route.
getFractionTraveled() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Get the fraction traveled along the current leg, this is a float value between 0 and 1 and isn't guaranteed to reach 1 before the user reaches the next leg (if another leg exist in route).
getFractionTraveled() - Method in class com.mapbox.services.android.navigation.v5.models.RouteStepProgress
Get the fraction traveled along the current step, this is a float value between 0 and 1 and isn't guaranteed to reach 1 before the user reaches the next step (if another step exist in route).
getFractionTraveled() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Get the fraction traveled along the current route, this is a float value between 0 and 1 and isn't guaranteed to reach 1 before the user reaches the end of the route.
getGeometryRemainingOnRoute(Position, DirectionsRoute) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Get the remaining route geometry from the position provided to the end of the directions route.
getGeometryRemainingOnRoute(Position, DirectionsRoute, int) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Get the remaining route geometry from the position provided to the end of the directions route.
getHighAlertInterval() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current number of seconds required for a NavigationConstants.HIGH_ALERT_LEVEL alert to occurs.
getLegIndex() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Index representing the current leg.
getManeuverZoneRadius() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current radius, in meters, the user must enter to count as completing a step.
getMapboxNavigationOptions() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Get the currently used MapboxNavigationOptions, if one isn't set, the default values will be used.
getMaximumDistanceOffRoute() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current required maximum distance in meters a user can travel away from the step geometry before the OffRouteListener's called.
getMaxManipulatedCourseAngle() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the maximum angle the user puck will be rotated when snapping the user's course to the route line.
getMaxTurnCompletionOffset() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current set threshold user must be within to count as completing a LegStep.
getMediumAlertInterval() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current number of seconds required for a NavigationConstants.MEDIUM_ALERT_LEVEL alert to occur.
getMinimumHighAlertDistanceCycling() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current required distance in meters representing the minimum length of a step for a NavigationConstants.HIGH_ALERT_LEVEL to occur.
getMinimumHighAlertDistanceDriving() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current required distance in meters representing the minimum length of a step for a NavigationConstants.HIGH_ALERT_LEVEL to occur.
getMinimumHighAlertDistanceWalking() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current required distance in meters representing the minimum length of a step for a NavigationConstants.HIGH_ALERT_LEVEL to occur.
getMinimumMediumAlertDistanceCycling() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current required distance in meters representing the minimum length of a step for a NavigationConstants.MEDIUM_ALERT_LEVEL to occur while cycling.
getMinimumMediumAlertDistanceDriving() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current required distance in meters representing the minimum length of a step for a NavigationConstants.MEDIUM_ALERT_LEVEL to occur while driving.
getMinimumMediumAlertDistanceWalking() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Get the current required distance in meters representing the minimum length of a step for a NavigationConstants.MEDIUM_ALERT_LEVEL to occur while walking.
getOffRouteThresholdKm() - Method in class com.mapbox.services.android.navigation.v5.RouteUtils
Deprecated.
All methods in RouteUtils are now static.
getOrigin() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Get the current origin Position that will be used for the beginning of the route.
getPreviousStep() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Get the previous step the user traversed along, if the user is still on the first step, this will return null.
getRootObject() - Method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
 
getRoute(Position, Position, Callback<DirectionsResponse>) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Request navigation to acquire a route and notify your callback when a response comes in.
getRoute(Position, Position, Float, Callback<DirectionsResponse>) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Request navigation to acquire a route and notify your callback when a response comes in.
getRoute() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
Get the route the navigation session is currently using.
getSecondsBeforeReroute() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
The seconds before off-route happens, initially when the user goes off-route, a timer is started and waits till it reaches this value and then notifies the off-route listener.
getService() - Method in class com.mapbox.services.android.navigation.v5.NavigationService.LocalBinder
 
getSnapToRoute(Position, RouteLeg, int) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Snaps given position to a RouteLeg step.
getSnapToRoute(Position, RouteLeg, int, int) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Snaps given position to a RouteLeg step.
getStepIndex() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Index representing the current step.
getTokenizedInstructionHook() - Method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
 
getUpComingStep() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
Get the next/upcoming step immediately after the current step.
getUserLocationSnapDistance() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Determines the distance the user must stay within for snapping to route to occur.
getUserOriginBearing() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Gets the current user bearing that will be used when MapboxNavigation.getRoute(Position, Position, Callback)'s called.
getVersionObject() - Method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
 

H

HIGH_ALERT_INTERVAL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Number of seconds left on step when a `high` alert is emitted.
HIGH_ALERT_LEVEL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
 

I

isInStep(Position, RouteLeg, int) - Method in class com.mapbox.services.android.navigation.v5.RouteUtils
Deprecated.
use the static equivalent of this method.
isInStep(Position, RouteLeg, int, double) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Compute the distance between the position and the step line (the closest point), and checks if it's within the off-route threshold.
isOffRoute(Position, RouteLeg) - Method in class com.mapbox.services.android.navigation.v5.RouteUtils
Deprecated.
Use the new static isOffRoute() method.
isOffRoute(Position, RouteLeg, double) - Static method in class com.mapbox.services.android.navigation.v5.RouteUtils
Method to check whether the position given is outside the routeLeg using the threshold.

L

laneConfig(LegStep) - Method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
Reduce any lane combination down to a contracted lane diagram
legIndex() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
 
LocalBinder() - Constructor for class com.mapbox.services.android.navigation.v5.NavigationService.LocalBinder
 
LOW_ALERT_LEVEL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
 

M

MANEUVER_ZONE_RADIUS - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Radius in meters the user must enter to count as completing a step.
MapboxNavigation - Class in com.mapbox.services.android.navigation.v5
This is an experimental API.
MapboxNavigation(Context, String) - Constructor for class com.mapbox.services.android.navigation.v5.MapboxNavigation
Creates a new MapboxNavigation object.
MapboxNavigation(Context, String, MapboxNavigationOptions) - Constructor for class com.mapbox.services.android.navigation.v5.MapboxNavigation
Creates a new MapboxNavigation object.
MapboxNavigationOptions - Class in com.mapbox.services.android.navigation.v5
 
MapboxNavigationOptions() - Constructor for class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Creates a new MapboxNavigationOptions object.
MAX_MANIPULATED_COURSE_ANGLE - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Maximum angle the user puck will be rotated when snapping the user's course to the route line.
MAXIMUM_ALLOWED_DEGREE_OFFSET_FOR_TURN_COMPLETION - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Threshold user must be in within to count as completing a step.
MAXIMUM_DISTANCE_BEFORE_OFF_ROUTE - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Maximum number of meters the user can travel away from step before the OffRouteListener's called.
MEDIUM_ALERT_INTERVAL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Number of seconds left on step when a `medium` alert is emitted.
MEDIUM_ALERT_LEVEL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
 
MINIMUM_DISTANCE_FOR_HIGH_ALERT_CYCLING - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Distance in meters for the minimum length of a step for giving a `high` alert.
MINIMUM_DISTANCE_FOR_HIGH_ALERT_DRIVING - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Distance in meters for the minimum length of a step for giving a `high` alert.
MINIMUM_DISTANCE_FOR_HIGH_ALERT_WALKING - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Distance in meters for the minimum length of a step for giving a `high` alert.
MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_CYCLING - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Distance in meters for the minimum length of a step for giving a `medium` alert while cycling.
MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_DRIVING - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Distance in meters for the minimum length of a step for giving a `medium` alert while driving.
MINIMUM_DISTANCE_FOR_MEDIUM_ALERT_WALKING - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Distance in meters for the minimum length of a step for giving a `medium` alert while driving.

N

NavigationConstants - Class in com.mapbox.services.android.navigation.v5
Navigation constants
NavigationConstants() - Constructor for class com.mapbox.services.android.navigation.v5.NavigationConstants
 
NavigationEventListener - Interface in com.mapbox.services.android.navigation.v5.listeners
This is an experimental API.
NavigationException - Exception in com.mapbox.services.android.navigation.v5
Generic Exception for all things Mapbox Navigation.
NavigationException(String) - Constructor for exception com.mapbox.services.android.navigation.v5.NavigationException
A form of Throwable that indicates conditions that a reasonable application might want to catch.
NavigationProfiles - Class in com.mapbox.services.android.navigation.v5
 
NavigationProfiles() - Constructor for class com.mapbox.services.android.navigation.v5.NavigationProfiles
 
NavigationProfiles.Profile - Annotation Type in com.mapbox.services.android.navigation.v5
One of these constants should be used when the navigation profiles being changed.
NavigationService - Class in com.mapbox.services.android.navigation.v5
This is an experimental API.
NavigationService() - Constructor for class com.mapbox.services.android.navigation.v5.NavigationService
 
NavigationService.LocalBinder - Class in com.mapbox.services.android.navigation.v5
 
NONE_ALERT_LEVEL - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
 

O

OffRouteListener - Interface in com.mapbox.services.android.navigation.v5.listeners
This is an experimental API.
onAlertLevelChange(int, RouteProgress) - Method in interface com.mapbox.services.android.navigation.v5.listeners.AlertLevelChangeListener
Method's invoked when the alert level has changed during the current navigation session.
onBind(Intent) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
onConnected() - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
onCreate() - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
onDestroy() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
 
onDestroy() - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
onLocationChanged(Location) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
onProgressChange(Location, RouteProgress) - Method in interface com.mapbox.services.android.navigation.v5.listeners.ProgressChangeListener
 
onProgressChange(Location, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
 
onRebind(Intent) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
onRunning(boolean) - Method in interface com.mapbox.services.android.navigation.v5.listeners.NavigationEventListener
 
onStart() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
It's required to include both the onStop and onStart inside your navigation activities identically named lifecycle methods.
onStartCommand(Intent, int, int) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
onStop() - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
It's required to include both the onStop and onStart inside your navigation activities identically named lifecycle methods.
onUnbind(Intent) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
ordinalize(Integer) - Method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
Transform numbers to their translated ordinalized value

P

ProgressChangeListener - Interface in com.mapbox.services.android.navigation.v5.listeners
This is an experimental API.

R

removeAlertLevelChangeListener(AlertLevelChangeListener) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
 
removeNavigationEventListener(NavigationEventListener) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
 
removeOffRouteListener(OffRouteListener) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
 
removeProgressChangeListener(ProgressChangeListener) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
 
route() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
 
routeLeg() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
 
RouteLegProgress - Class in com.mapbox.services.android.navigation.v5.models
 
RouteLegProgress() - Constructor for class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
 
RouteProgress - Class in com.mapbox.services.android.navigation.v5
The routeProgress class contains all progress information of user along the route, leg and step.
RouteProgress() - Constructor for class com.mapbox.services.android.navigation.v5.RouteProgress
 
RouteStepProgress - Class in com.mapbox.services.android.navigation.v5.models
 
RouteStepProgress() - Constructor for class com.mapbox.services.android.navigation.v5.models.RouteStepProgress
 
RouteUtils - Class in com.mapbox.services.android.navigation.v5
A few utilities to work with RouteLeg objects.
RouteUtils() - Constructor for class com.mapbox.services.android.navigation.v5.RouteUtils
Deprecated.
All methods in RouteUtils are now static.
RouteUtils(double) - Constructor for class com.mapbox.services.android.navigation.v5.RouteUtils
Deprecated.
All methods in RouteUtils are now static.

S

SECONDS_BEFORE_REROUTE - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Seconds used before a reroute occurs.
setAlertLevelChangeListeners(CopyOnWriteArrayList<AlertLevelChangeListener>) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
setDeadReckoningTimeInterval(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
When calculating whether or not the user is on the route, we look where the user will be given their speed and this deadReckoningTimeInterval variable.
setDirectionsProfile(String) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Set the directions profile which will be used when requesting the route.
setHighAlertInterval(int) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Number of seconds left on step when a NavigationConstants.HIGH_ALERT_LEVEL alert occurs.
setLocationEngine(LocationEngine) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Before starting a navigationService, it is required to setup a LocationEngine and pass it into your instance of MapboxNavigation.
setLocationEngine(LocationEngine) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
setManeuverZoneRadius(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Radius, in meters, the user must enter to count as completing a step.
setMaximumDistanceOffRoute(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Maximum distance in meters a user can travel away from the step geometry before the OffRouteListener's called.
setMaxManipulatedCourseAngle(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Maximum angle the user puck will be rotated when snapping the user's course to the route line.
setMaxTurnCompletionOffset(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Set the threshold user must be within to count as completing a LegStep.
setMediumAlertInterval(int) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Number of seconds left on step when a NavigationConstants.MEDIUM_ALERT_LEVEL alert occurs.
setMinimumHighAlertDistanceCycling(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Distance in meters representing the minimum length of a step for a NavigationConstants.HIGH_ALERT_LEVEL to occur while cycling.
setMinimumHighAlertDistanceDriving(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Distance in meters representing the minimum length of a step for a NavigationConstants.HIGH_ALERT_LEVEL to occur while driving.
setMinimumHighAlertDistanceWalking(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Distance in meters representing the minimum length of a step for a NavigationConstants.HIGH_ALERT_LEVEL to occur while walking.
setMinimumMediumAlertDistanceCycling(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Distance in meters representing the minimum length of a step for a NavigationConstants.MEDIUM_ALERT_LEVEL to occur while cycling.
setMinimumMediumAlertDistanceDriving(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Distance in meters representing the minimum length of a step for a NavigationConstants.MEDIUM_ALERT_LEVEL to occur while driving.
setMinimumMediumAlertDistanceWalking(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
Distance in meters representing the minimum length of a step for a NavigationConstants.MEDIUM_ALERT_LEVEL to occur while walking.
setNavigationEventListeners(CopyOnWriteArrayList<NavigationEventListener>) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
setOffRouteListeners(CopyOnWriteArrayList<OffRouteListener>) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
setOptions(MapboxNavigationOptions) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
setProgressChangeListeners(CopyOnWriteArrayList<ProgressChangeListener>) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
setSecondsBeforeReroute(int) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
The seconds before off-route happens, initially when the user goes off-route, a timer is started and waits till it reaches this value and then notifies the off-route listener.
setSnapToRoute(boolean) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Disable or enable the snap to route for navigation, by default this is set to enable.
setSnapToRoute(boolean) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
setTokenizedInstructionHook(TokenizedInstructionHook) - Method in class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
 
setupNotification(Activity) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Optionally, set up navigation notification using the default builder provided in the SDK.
setupNotification(Activity) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
setUserLocationSnapDistance(double) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigationOptions
set the distance the user must stay within for snapping to route to occur.
setUserOriginBearing(float) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Optional but recommended parameter that can be used to route a user in the correct orientation they are already headed in.
SnapLocation - Class in com.mapbox.services.android.navigation.v5
 
startNavigation(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
Call startNavigation passing in a DirectionsRoute object to begin a navigation session.
startRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
step() - Method in class com.mapbox.services.android.navigation.v5.models.RouteStepProgress
 
stepIndex() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
 

T

TextInstructions - Class in com.mapbox.services.android.navigation.v5.osrm
Text instructions from OSRM route responses
TextInstructions(String, String) - Constructor for class com.mapbox.services.android.navigation.v5.osrm.TextInstructions
 
TokenizedInstructionHook - Interface in com.mapbox.services.android.navigation.v5.osrm
A function to change the raw instruction string before tokens are replaced.

U

updateRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.MapboxNavigation
When a reroute's performed, use this API to pass in the new directions route.
updateRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.NavigationService
 
USER_LOCATION_SNAPPING_DISTANCE - Static variable in class com.mapbox.services.android.navigation.v5.NavigationConstants
Accepted deviation excluding horizontal accuracy before the user is considered to be off route.
userOffRoute(Location) - Method in interface com.mapbox.services.android.navigation.v5.listeners.OffRouteListener
 
userSnappedPosition() - Method in class com.mapbox.services.android.navigation.v5.models.RouteLegProgress
 
userSnappedPosition() - Method in class com.mapbox.services.android.navigation.v5.models.RouteStepProgress
 
userSnappedPosition() - Method in class com.mapbox.services.android.navigation.v5.RouteProgress
 
A C D E G H I L M N O P R S T U 
Skip navigation links