Skip navigation links
Mapbox Android Navigation SDK 0.30.0 Reference
A B C D E F G H I L M N O P R S T U V W Z 

A

abbreviate(String) - Static method in class com.mapbox.services.android.navigation.v5.utils.abbreviation.StringAbbreviator
 
accessToken(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Required to call when this is being built.
accessToken(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineTiles.Builder
Required to call when this is being built.
add(T) - Method in class com.mapbox.services.android.navigation.v5.utils.RingBuffer
 
addAll(Collection<? extends T>) - Method in class com.mapbox.services.android.navigation.v5.utils.RingBuffer
 
addApproaches(String...) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Indicates from which side of the road to approach a waypoint.
addBearing(Double, Double) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Optionally, Use to filter the road segment the waypoint will be placed on by direction and dictates the angle of approach.
addFasterRouteListener(FasterRouteListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This adds a new faster route listener which is invoked when a new, faster DirectionsRoute has been retrieved by the specified criteria in FasterRoute.
addFirst(T) - Method in class com.mapbox.services.android.navigation.v5.utils.RingBuffer
 
addLast(T) - Method in class com.mapbox.services.android.navigation.v5.utils.RingBuffer
 
addMilestone(Milestone) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Navigation Milestones provide a powerful way to give your user instructions at custom defined locations along their route.
addMilestoneEventListener(MilestoneEventListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This adds a new milestone event listener which is invoked when a milestone gets triggered.
addMilestones(List<Milestone>) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Adds the given list of Milestone to be triggered during navigation.
addNavigationEventListener(NavigationEventListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This adds a new navigation event listener which is invoked when navigation service begins running in the background and again when the service gets destroyed.
addOffRouteListener(OffRouteListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This adds a new off route listener which is invoked when the devices location veers off the route and the specified criteria's in MapboxNavigationOptions have been met.
addProgressChangeListener(ProgressChangeListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This adds a new progress change listener which is invoked when a location change occurs and the navigation engine successfully runs it's calculations on it.
addRouteListener(RouteListener) - Method in class com.mapbox.services.android.navigation.v5.route.RouteFetcher
Adds a RouteListener to this class to be triggered when a route response has been received.
addWaypoint(Point) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
This can be used to set up to 23 additional in-between points which will act as pit-stops along the users route.
addWaypoint(Point, Double, Double) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
This can be used to set up to 23 additional in-between points which will act as pit-stops along the users route.
addWaypointIndices(Integer...) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Optionally, set which input coordinates should be treated as waypoints / separate legs.
addWaypointNames(String...) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Custom names for waypoints used for the arrival instruction, each separated by ;.
addWaypointTargets(Point...) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
A list of coordinate pairs used to specify drop-off locations that are distinct from the locations specified in coordinates.
afterEventLocations() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
afterEventLocations(List<Location>) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
ALERT_VIEW_PROBLEM_DURATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Duration in which the AlertView is shown with the "Report Problem" text.
all(Trigger.Statement...) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Groups a collection of statements in an all relationship.
alternatives(Boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Optionally set whether to try to return alternative routes.
annotations(String...) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Whether or not to return additional metadata along the route.
any(Trigger.Statement...) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Groups a collection of statements in an any relationship.
arrivalTimestamp() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
arrivalTimestamp(Date) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
assign(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
assignLastLocation(Point) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 

B

BANNER_INSTRUCTION_MILESTONE_ID - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
This identifier will be used to differentiate the BannerInstructionMilestone from custom milestones in the MilestoneEventListener.
bannerInstruction() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Current banner instruction.
bannerInstruction(BannerInstruction) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
BannerInstructionMilestone - Class in com.mapbox.services.android.navigation.v5.milestone
A default milestone that is added to MapboxNavigation when default milestones are enabled.
BannerInstructionMilestone.Builder - Class in com.mapbox.services.android.navigation.v5.milestone
 
baseUrl(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Optionally change the APIs base URL to something other then the default Mapbox one.
beforeEventLocations() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
beforeEventLocations(List<Location>) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
bicycleType(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute.Builder
The type of bicycle, either Road, Hybrid, City, Cross, Mountain.
boundingBox(BoundingBox) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineTiles.Builder
The bounding box representing the region of tiles being requested.
BREAK - Static variable in class com.mapbox.services.android.navigation.v5.navigation.OfflineCriteria
Break waypoint type.
build() - Method in class com.mapbox.services.android.navigation.v5.milestone.BannerInstructionMilestone.Builder
 
build() - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone.Builder
Build a new milestone
build() - Method in class com.mapbox.services.android.navigation.v5.milestone.RouteMilestone.Builder
 
build() - Method in class com.mapbox.services.android.navigation.v5.milestone.StepMilestone.Builder
 
build() - Method in class com.mapbox.services.android.navigation.v5.milestone.VoiceInstructionMilestone.Builder
 
build() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
build() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
build() - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
This uses the provided parameters set using the NavigationRoute.Builder and adds the required settings for navigation to work correctly.
build() - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute.Builder
This uses the provided parameters set using the OfflineRoute.Builder and adds the required settings for offline navigation to work correctly.
build() - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineTiles.Builder
Builds a new OfflineTiles object.
build() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
Build a new CurrentLegAnnotation object.
build() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress.Builder
 
build() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.milestone.BannerInstructionMilestone.Builder
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.milestone.Milestone.Builder
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.milestone.RouteMilestone.Builder
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.milestone.StepMilestone.Builder
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.milestone.VoiceInstructionMilestone.Builder
 
builder() - Static method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
builder() - Static method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
builder(Context) - Static method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute
Build a new NavigationRoute object with the proper navigation parameters already setup.
builder(NavigationRoute.Builder) - Static method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute
Build a new OfflineRoute object with the proper offline navigation parameters already setup.
builder() - Static method in class com.mapbox.services.android.navigation.v5.navigation.OfflineTiles
Gets a new Builder to build an OfflineTiles object
builder() - Static method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
Create a new instance of this class by using the CurrentLegAnnotation.Builder class.
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
 
builder() - Static method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress.Builder
 
builder() - Static method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
 
Builder() - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
builder() - Static method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
 
buildInstruction(RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.instruction.Instruction
Will provide an instruction based on your specifications
buildUrl() - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute
Builds a URL string for offline.

C

calculateAbsoluteDistance(Location, MetricsRouteProgress) - Static method in class com.mapbox.services.android.navigation.v5.utils.DistanceFormatter
 
calculateRemainingWaypointNames(RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.utils.RouteUtils
Given a RouteProgress, this method will calculate the remaining waypoint names along the given route based on route option waypoint names and the progress remaining coordinates.
calculateRemainingWaypoints(RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.utils.RouteUtils
Given a RouteProgress, this method will calculate the remaining coordinates along the given route based on total route coordinates and the progress remaining waypoints.
Camera - Class in com.mapbox.services.android.navigation.v5.navigation.camera
This class handles calculating camera's zoom and tilt properties while routing.
Camera() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.camera.Camera
 
cancelCall() - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute
Wrapper method for Retrofit's Call.cancel() call, important to manually cancel call if the user dismisses the calling activity or no longer needs the returned results.
cancelFeedback(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Cancels an existing feedback event generated by MapboxNavigation.recordFeedback(String, String, String).
cancelRouteCall() - Method in class com.mapbox.services.android.navigation.v5.route.RouteFetcher
Cancels the Directions API call if it has not been executed yet.
CITY - Static variable in class com.mapbox.services.android.navigation.v5.navigation.OfflineCriteria
Bicycle type for city bike.
clamp(double, double, double) - Static method in class com.mapbox.services.android.navigation.v5.utils.MathUtils
Test a value in specified range, returning minimum if it's below, and maximum if it's above
clamp(float, float, float) - Static method in class com.mapbox.services.android.navigation.v5.utils.MathUtils
Test a value in specified range, returning minimum if it's below, and maximum if it's above
clearListeners() - Method in class com.mapbox.services.android.navigation.v5.route.RouteFetcher
Clears any listeners that have been added to this class via RouteFetcher.addRouteListener(RouteListener).
clientAppName(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Base package name or other simple string identifier.
com.mapbox.services.android.navigation.v5.exception - package com.mapbox.services.android.navigation.v5.exception
This contains a runtime exception to be thrown during the normal operation and does not need to be declared in a method or constructor.
com.mapbox.services.android.navigation.v5.instruction - package com.mapbox.services.android.navigation.v5.instruction
Contains instruction logic for providing turn by turn navigation instructions.
com.mapbox.services.android.navigation.v5.location - package com.mapbox.services.android.navigation.v5.location
 
com.mapbox.services.android.navigation.v5.location.replay - package com.mapbox.services.android.navigation.v5.location.replay
 
com.mapbox.services.android.navigation.v5.milestone - package com.mapbox.services.android.navigation.v5.milestone
Contains navigation milestone classes for receiving information when the user reaches a defined point along the route.
com.mapbox.services.android.navigation.v5.navigation - package com.mapbox.services.android.navigation.v5.navigation
Package containing the core navigation logic which monitors location updates and delegates task accordingly.
com.mapbox.services.android.navigation.v5.navigation.camera - package com.mapbox.services.android.navigation.v5.navigation.camera
 
com.mapbox.services.android.navigation.v5.navigation.metrics - package com.mapbox.services.android.navigation.v5.navigation.metrics
 
com.mapbox.services.android.navigation.v5.navigation.notification - package com.mapbox.services.android.navigation.v5.navigation.notification
 
com.mapbox.services.android.navigation.v5.offroute - package com.mapbox.services.android.navigation.v5.offroute
Holds logic specific to detecting if a user goes off-route and invokes the OffRouteListener when the logic evaluates to true.
com.mapbox.services.android.navigation.v5.route - package com.mapbox.services.android.navigation.v5.route
 
com.mapbox.services.android.navigation.v5.routeprogress - package com.mapbox.services.android.navigation.v5.routeprogress
Immutable model class which provides the users current progress along the route such as distance or duration.
com.mapbox.services.android.navigation.v5.snap - package com.mapbox.services.android.navigation.v5.snap
Contains user location manipulation logic to cause it to snap to a biased location.
com.mapbox.services.android.navigation.v5.utils - package com.mapbox.services.android.navigation.v5.utils
This contains common static util methods used throughout the Mapbox Navigation SDK.
com.mapbox.services.android.navigation.v5.utils.abbreviation - package com.mapbox.services.android.navigation.v5.utils.abbreviation
 
com.mapbox.services.android.navigation.v5.utils.span - package com.mapbox.services.android.navigation.v5.utils.span
 
com.mapbox.services.android.navigation.v5.utils.time - package com.mapbox.services.android.navigation.v5.utils.time
 
combineSpans(List<SpanItem>) - Static method in class com.mapbox.services.android.navigation.v5.utils.span.SpanUtils
 
configure(String, OnOfflineTilesConfiguredCallback) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxOfflineRouter
Configures the navigator for getting offline routes.
congestion(String) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
The congestion for the given annotation segment.
congestion() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
The congestion for the given annotation segment.
continueStraight(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Sets allowed direction of travel when departing intermediate waypoints.
convertNativeBearing(double) - Static method in class com.mapbox.services.android.navigation.v5.utils.MathUtils
Convert bearing from core to match Android SDK value.
create(DirectionsRoute, Location, RouteProgress) - Static method in class com.mapbox.services.android.navigation.v5.navigation.camera.RouteInformation
 
createCurrentAnnotation(CurrentLegAnnotation, RouteLeg, double) - Static method in class com.mapbox.services.android.navigation.v5.navigation.NavigationHelper
Given a list of distance annotations, find the current annotation index.
createDistancesToIntersections(List<Point>, List<StepIntersection>) - Static method in class com.mapbox.services.android.navigation.v5.navigation.NavigationHelper
Creates a list of pairs StepIntersection and double distance in meters along a step.
createIntersectionsList(LegStep, LegStep) - Static method in class com.mapbox.services.android.navigation.v5.navigation.NavigationHelper
Given a current and upcoming step, this method assembles a list of StepIntersection consisting of all of the current step intersections, as well as the first intersection of the upcoming step (if the upcoming step isn't null).
CROSS - Static variable in class com.mapbox.services.android.navigation.v5.navigation.OfflineCriteria
Bicycle type for cross bike.
currentDirectionRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
currentDirectionRoute() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
currentGeometry() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
currentIntersection(StepIntersection) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
currentIntersection() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
The current intersection that has been passed along the route.
currentLeg() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Provides the current RouteLeg the user is on.
CurrentLegAnnotation - Class in com.mapbox.services.android.navigation.v5.routeprogress
This class represents the current annotation being traveled along at a given time during navigation.
CurrentLegAnnotation() - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
 
currentLegAnnotation() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Provides the current annotation data for a leg segment determined by the distance traveled along the route.
currentLegAnnotation(CurrentLegAnnotation) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
CurrentLegAnnotation.Builder - Class in com.mapbox.services.android.navigation.v5.routeprogress
This builder can be used to set the values describing the CurrentLegAnnotation.
currentLegProgress() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Gives a RouteLegProgress object with information about the particular leg the user is currently on.
currentState(RouteProgressState) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
currentState() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Returns the current state of progress along the route.
currentStep() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Returns the current step the user is traversing along.
currentStepCount() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
currentStepPoints() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Provides a list of points that represent the current step step geometry.
currentStepPoints(List<Point>) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
currentStepPoints() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Provides a list of points that represent the current step step geometry.
currentStepProgress() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Gives a RouteStepProgress object with information about the particular step the user is currently on.
cyclewayBias(Float) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute.Builder
A cyclist's propensity to use roads alongside other vehicles.
cyclingSpeed(Float) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute.Builder
Cycling speed is the average travel speed along smooth, flat roads.

D

DEFAULT_TILT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.camera.SimpleCamera
 
DEFAULT_ZOOM - Static variable in class com.mapbox.services.android.navigation.v5.navigation.camera.SimpleCamera
 
defaultMilestonesEnabled(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
defaultMilestonesEnabled() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
deliminator(String) - Static method in class com.mapbox.services.android.navigation.v5.utils.abbreviation.StringAbbreviator
 
destination(Point) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
This sets the ending point on the map where the route will end.
destination(Point, Double, Double) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
This sets the ending point on the map where the route will end.
differenceBetweenAngles(double, double) - Static method in class com.mapbox.services.android.navigation.v5.utils.MathUtils
Returns the smallest angle between two angles.
directionsRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
directionsRoute() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Get the route the navigation session is currently using.
distance(Double) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
The distance, in meters, between each pair of coordinates.
distance() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
The distance, in meters, for the given annotation segment.
DistanceFormatter - Class in com.mapbox.services.android.navigation.v5.utils
 
DistanceFormatter(Context, String, String, int) - Constructor for class com.mapbox.services.android.navigation.v5.utils.DistanceFormatter
Creates an instance of DistanceFormatter, which can format distances in meters based on a language format and unit type.
distanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Provides the duration remaining in seconds till the user reaches the end of the route.
distanceRemaining(double) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
distanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Provides the distance remaining in meters till the user reaches the end of the route.
distanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
Total distance in meters from user to end of step.
distanceToAnnotation(double) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
Distance along the RouteLeg that adds up to this set of annotation data.
distanceToAnnotation() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
Distance along the RouteLeg that adds up to this set of annotation data.
distanceTraveled() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Total distance traveled in meters along current leg.
distanceTraveled() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Total distance traveled in meters along route.
distanceTraveled() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
Returns distance user has traveled along current step in unit meters.
doInBackground(ResponseBody...) - Method in class com.mapbox.services.android.navigation.v5.utils.DownloadTask
 
DownloadTask - Class in com.mapbox.services.android.navigation.v5.utils
This class is an AsyncTask that downloads a file from a ResponseBody.
DownloadTask(String, String, DownloadTask.DownloadListener) - Constructor for class com.mapbox.services.android.navigation.v5.utils.DownloadTask
Creates a DownloadTask with a blank file name, so each subsequent file will just be named numerically.
DownloadTask(String, String, String, DownloadTask.DownloadListener) - Constructor for class com.mapbox.services.android.navigation.v5.utils.DownloadTask
Creates a DownloadTask which will download the input stream into the given destinationDirectory with the specified file name and file extension.
DownloadTask.DownloadListener - Interface in com.mapbox.services.android.navigation.v5.utils
Interface which allows a Listener to be updated upon the completion of a DownloadTask.
downloadTiles(OfflineTiles, RouteTileDownloadListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxOfflineRouter
Starts the download of tiles specified by the provided OfflineTiles object.
duration(Double) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
The speed, in meters per second, for the given annotation segment.
duration() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
The speed, in meters per second, for the given annotation segment.
durationRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Provides the duration remaining in seconds till the user reaches the end of the current step.
durationRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Provides the duration remaining in seconds till the user reaches the end of the route.
durationRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
Provides the duration remaining in seconds till the user reaches the end of the current step.

E

enableAutoIncrementLegIndex(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
enableAutoIncrementLegIndex() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
enableFasterRouteDetection(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
enableFasterRouteDetection() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
enableRefresh(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Enables a route to be refreshable
eq(int, Object) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Check the property equals the given value.
eventDate(Date) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
eventDate() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
eventListener(EventListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Adds an optional event listener to set in the OkHttp client.
eventLocation(Location) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
eventLocation() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
eventRouteDistanceCompleted(double) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
eventRouteDistanceCompleted() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
eventRouteProgress(MetricsRouteProgress) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
eventRouteProgress() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
exclude(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Exclude specific road classes such as highways, tolls, and more.

F

FALSE - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
FasterRoute - Class in com.mapbox.services.android.navigation.v5.route
This class can be subclassed to provide custom logic for checking / determining new / faster routes while navigating.
FasterRoute() - Constructor for class com.mapbox.services.android.navigation.v5.route.FasterRoute
 
FasterRouteDetector - Class in com.mapbox.services.android.navigation.v5.route
 
FasterRouteDetector() - Constructor for class com.mapbox.services.android.navigation.v5.route.FasterRouteDetector
 
fasterRouteFound(DirectionsRoute) - Method in interface com.mapbox.services.android.navigation.v5.route.FasterRouteListener
Will be fired when a faster route has been found based on the logic provided by FasterRoute.
FasterRouteListener - Interface in com.mapbox.services.android.navigation.v5.route
Listener that can be added to monitor faster routes retrieved based on the logic set in FasterRoute.
FEEDBACK_BOTTOM_SHEET_DURATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Duration in which the feedback BottomSheet is shown.
FEEDBACK_SOURCE_REROUTE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_SOURCE_UI - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_ACCIDENT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_CONFUSING_INSTRUCTION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_GENERAL_ISSUE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_HAZARD - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_INACCURATE_GPS - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_MISSING_EXIT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_MISSING_ROAD - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_NOT_ALLOWED - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_OTHER_MAP_ISSUE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_REPORT_TRAFFIC - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_ROAD_CLOSED - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FEEDBACK_TYPE_ROUTING_ERROR - Static variable in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FeedbackEvent - Class in com.mapbox.services.android.navigation.v5.navigation.metrics
 
FeedbackEvent(SessionState, String) - Constructor for class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
FeedbackEvent.FeedbackSource - Annotation Type in com.mapbox.services.android.navigation.v5.navigation.metrics
 
FeedbackEvent.FeedbackType - Annotation Type in com.mapbox.services.android.navigation.v5.navigation.metrics
 
ferryBias(Float) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute.Builder
This value indicates the willingness to take ferries.
fetchAvailableTileVersions(String, OnTileVersionsFoundCallback) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxOfflineRouter
Call this method to fetch the latest available offline tile versions that can be used with MapboxOfflineRouter.downloadTiles(OfflineTiles, RouteTileDownloadListener).
findCurrentBannerInstructions(LegStep, double) - Method in class com.mapbox.services.android.navigation.v5.utils.RouteUtils
Given the current step / current step distance remaining, this function will find the current instructions to be shown.
findCurrentIntersection(List<StepIntersection>, List<Pair<StepIntersection, Double>>, double) - Static method in class com.mapbox.services.android.navigation.v5.navigation.NavigationHelper
Based on the list of measured intersections and the step distance traveled, finds the current intersection a user is traveling along.
findRoute(OfflineRoute, OnOfflineRouteFoundCallback) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxOfflineRouter
Uses libvalhalla and local tile data to generate mapbox-directions-api-like JSON.
findRouteFromRouteProgress(Location, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.route.RouteFetcher
Calculates a new DirectionsRoute given the current Location and RouteProgress along the route.
findUpcomingIntersection(List<StepIntersection>, LegStep, StepIntersection) - Static method in class com.mapbox.services.android.navigation.v5.navigation.NavigationHelper
Based on the current intersection index, add one and try to get the upcoming.
FIRST_LEG - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
FIRST_STEP - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
followOnStep() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
This will return the LegStep two steps ahead of the current step the user's on.
formatDistance(double) - Method in class com.mapbox.services.android.navigation.v5.utils.DistanceFormatter
Returns a formatted SpannableString with bold and size formatting.
formatTime(Calendar, double, int, boolean) - Static method in class com.mapbox.services.android.navigation.v5.utils.time.TimeFormatter
 
formatTimeRemaining(Context, double) - Static method in class com.mapbox.services.android.navigation.v5.utils.time.TimeFormatter
 
fractionTraveled() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.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 waypoint.
fractionTraveled() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.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.
fractionTraveled() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.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).

G

getAnnouncement() - Method in class com.mapbox.services.android.navigation.v5.milestone.VoiceInstructionMilestone
Provide the instruction that can be used with Android's TextToSpeech.
getBannerInstructions() - Method in class com.mapbox.services.android.navigation.v5.milestone.BannerInstructionMilestone
Returns the given BannerInstructions for the time that the milestone is triggered.
getCall() - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute
Wrapper method for Retrofit's Call.clone() call, useful for getting call information and allowing you to perform additional functions on this NavigationRoute class.
getCameraEngine() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Returns the current camera engine used to configure the camera position while routing.
getCurrentStepDistance() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getCurrentStepDistanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getCurrentStepDuration() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getCurrentStepDurationRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getDescription() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
getDirectionsRouteDestination() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getDirectionsRouteDistance() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getDirectionsRouteDuration() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getDirectionsRouteProfile() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getDistanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getDistanceTraveled() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getDurationRemaining() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getEventId() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
getEventId() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
getEventId() - Method in interface com.mapbox.services.android.navigation.v5.navigation.metrics.TelemetryEvent
 
getFasterRouteEngine() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This will return the currently set faster-route engine which will or is being used during the navigation session.
getFeedbackSource() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
getFeedbackType() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
getIdentifier() - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone.Builder
Milestone specific identifier as an int value, useful for deciphering which milestone invoked MilestoneEventListener.onMilestoneEvent(RouteProgress, String, Milestone).
getIdentifier() - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone
Milestone specific identifier as an int value, useful for deciphering which milestone invoked MilestoneEventListener.onMilestoneEvent(RouteProgress, String, Milestone).
getInstruction() - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone.Builder
Milestone specific Instruction, which can be used to build a String instruction specified by the superclass
getInstruction() - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone
Milestone specific Instruction, which can be used to build a String instruction specified by the superclass.
getInstruction() - Method in class com.mapbox.services.android.navigation.v5.milestone.VoiceInstructionMilestone
 
getLastLocation(LocationEngineCallback<LocationEngineResult>) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
getLegCount() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getLegIndex() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getLocation() - Method in class com.mapbox.services.android.navigation.v5.location.MetricsLocation
 
getLocationEngine() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Will return the currently set location engine.
getManeuverResource(LegStep) - Static method in class com.mapbox.services.android.navigation.v5.utils.ManeuverUtils
 
getMessage() - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineError
 
getMessage() - Method in class com.mapbox.services.android.navigation.v5.navigation.RefreshError
 
getNewDistanceRemaining() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
getNewDurationRemaining() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
getNewRouteGeometry() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
getNonEmptyLanguage(Context, String) - Method in class com.mapbox.services.android.navigation.v5.utils.LocaleUtils
Returns the locale passed in if it is not null, otherwise returns the device locale
getNotification() - Method in interface com.mapbox.services.android.navigation.v5.navigation.notification.NavigationNotification
Provides a custom Notification to launch with the NavigationService, specifically Service.startForeground(int, Notification).
getNotificationId() - Method in interface com.mapbox.services.android.navigation.v5.navigation.notification.NavigationNotification
An integer id that will be used to start this notification from NavigationService with Service.startForeground(int, Notification).
getOffRouteEngine() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This will return the currently set off-route engine which will or is being used during the navigation session.
getPreviousStepInstruction() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getPreviousStepModifier() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getPreviousStepName() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getPreviousStepType() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getRoute(Callback<DirectionsResponse>) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute
Call when you have constructed your navigation route with your desired parameters.
getScreenshot() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
getSessionState() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
getSessionState() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
getSessionState() - Method in interface com.mapbox.services.android.navigation.v5.navigation.metrics.TelemetryEvent
 
getSnapEngine() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This will return the currently set snap engine which will or is being used during the navigation session.
getSnappedLocation(Location, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.snap.Snap
 
getSnappedLocation(Location, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.snap.SnapToRoute
 
getSnappedLocationWith(NavigationStatus, Location) - Method in class com.mapbox.services.android.navigation.v5.snap.SnapToRoute
 
getSpan() - Method in interface com.mapbox.services.android.navigation.v5.utils.span.SpanItem
 
getSpan() - Method in class com.mapbox.services.android.navigation.v5.utils.span.TextSpanItem
 
getSpanText() - Method in class com.mapbox.services.android.navigation.v5.utils.span.TextSpanItem
 
getSsmlAnnouncement() - Method in class com.mapbox.services.android.navigation.v5.milestone.VoiceInstructionMilestone
Provide the SSML instruction that can be used with Mapbox's API Voice.
getStepCount() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getStepIndex() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getUnitTypeForDeviceLocale(Context) - Method in class com.mapbox.services.android.navigation.v5.utils.LocaleUtils
Returns the unit type for the device locale
getUnitTypeForLocale(Locale) - Method in class com.mapbox.services.android.navigation.v5.utils.LocaleUtils
Returns the unit type for the specified locale.
getUpcomingStepInstruction() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getUpcomingStepModifier() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getUpcomingStepName() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
getUpcomingStepType() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
gt(int, Object) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Check the property exceeds the given value.
gte(int, Object) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Check the property exceeds or equals the given value.

H

hillBias(Float) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute.Builder
A cyclist's desire to tackle hills in their routes.
HYBRID - Static variable in class com.mapbox.services.android.navigation.v5.navigation.OfflineCriteria
Bicycle type for hybrid bike.

I

index(int) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
The index used to retrieve the annotation values from each array in LegAnnotation.
index() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
The index used to retrieve the annotation values from each array in LegAnnotation.
inferDeviceLanguage(Context) - Method in class com.mapbox.services.android.navigation.v5.utils.LocaleUtils
Returns the device language to default to if no locale was specified
inferDeviceLocale(Context) - Method in class com.mapbox.services.android.navigation.v5.utils.LocaleUtils
Returns the device locale for which to use as a default if no language is specified
Instruction - Class in com.mapbox.services.android.navigation.v5.instruction
Base Instruction.
Instruction() - Constructor for class com.mapbox.services.android.navigation.v5.instruction.Instruction
 
interceptor(Interceptor) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Adds an optional interceptor to set in the OkHttp client.
intersectionDistancesAlongStep(List<Pair<StepIntersection, Double>>) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
intersectionDistancesAlongStep() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
Provides a list of pairs containing two distances, in meters, along the route.
intersections(List<StepIntersection>) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
intersections() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
A collection of all the current steps intersections and the next steps maneuver location (if one exist).
inTunnel(boolean) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
inTunnel() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Returns whether or not the location updates are considered in a tunnel along the route.
isArrivalEvent(RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.utils.RouteUtils
Looks at the current RouteProgressState and returns if is RouteProgressState.ROUTE_ARRIVED.
isDebugLoggingEnabled(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
isDebugLoggingEnabled() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
isFasterRoute(DirectionsResponse, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.route.FasterRoute
This method will be used to determine if the route retrieved is faster than the one that's currently being navigated.
isFasterRoute(DirectionsResponse, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.route.FasterRouteDetector
 
isFromNavigationUi(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
isFromNavigationUi() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
isLastLeg(RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.utils.RouteUtils
Looks at the current RouteProgress list of legs and checks if the current leg is the last leg.
isOccurring(RouteProgress, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.milestone.BannerInstructionMilestone
 
isOccurring(RouteProgress, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone
A milestone can either be passed in to the MapboxNavigation object (recommended) or validated directly inside your activity.
isOccurring(RouteProgress, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.milestone.RouteMilestone
 
isOccurring(RouteProgress, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.milestone.StepMilestone
 
isOccurring(SparseArray<Number[]>) - Method in class com.mapbox.services.android.navigation.v5.milestone.Trigger.Statement
Validates whether the statement meets the specified trigger criteria.
isOccurring(RouteProgress, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.milestone.VoiceInstructionMilestone
 
isUserOffRoute(Location, RouteProgress, MapboxNavigationOptions) - Method in class com.mapbox.services.android.navigation.v5.offroute.OffRoute
 
isUserOffRoute(Location, RouteProgress, MapboxNavigationOptions) - Method in class com.mapbox.services.android.navigation.v5.offroute.OffRouteDetector
 
isUserOffRouteWith(NavigationStatus) - Method in class com.mapbox.services.android.navigation.v5.offroute.OffRouteDetector
 

L

language(Locale) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Set the instruction language for the directions request, the default is english.
LAST_LEG - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
LAST_STEP - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
legDistanceRemaining(double) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
legDurationRemaining(double) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
legIndex(int) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
legIndex() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Index representing the current leg the user is on.
load() - Static method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLibraryLoader
Loads navigation shared library.
load(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLibraryLoader
 
LocaleUtils - Class in com.mapbox.services.android.navigation.v5.utils
 
LocaleUtils() - Constructor for class com.mapbox.services.android.navigation.v5.utils.LocaleUtils
 
location() - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.RouteInformation
The user's current location along the route.
locationEngineName(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
locationEngineName() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
lt(int, Object) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Check the property does not exceeds the given value.
lte(int, Object) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Check the property equals or does not exceeds the given value.

M

ManeuverUtils - Class in com.mapbox.services.android.navigation.v5.utils
 
ManeuverUtils() - Constructor for class com.mapbox.services.android.navigation.v5.utils.ManeuverUtils
 
MAPBOX_LOCATION_SOURCE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
MAPBOX_WAYNAME_ICON - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
MAPBOX_WAYNAME_LAYER - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
MapboxNavigation - Class in com.mapbox.services.android.navigation.v5.navigation
A MapboxNavigation class for interacting with and customizing a navigation session.
MapboxNavigation(Context, String) - Constructor for class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Constructs a new instance of this class using the default options.
MapboxNavigation(Context, String, MapboxNavigationOptions) - Constructor for class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Constructs a new instance of this class using a custom built options class.
MapboxNavigation(Context, String, MapboxNavigationOptions, LocationEngine) - Constructor for class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Constructs a new instance of this class using a custom built options class.
MapboxNavigationOptions - Class in com.mapbox.services.android.navigation.v5.navigation
Immutable and can't be changed after passing into MapboxNavigation.
MapboxNavigationOptions() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
MapboxNavigationOptions.Builder - Class in com.mapbox.services.android.navigation.v5.navigation
 
MapboxOfflineRouter - Class in com.mapbox.services.android.navigation.v5.navigation
Class used for offline routing.
MapboxOfflineRouter(String) - Constructor for class com.mapbox.services.android.navigation.v5.navigation.MapboxOfflineRouter
Creates an offline router which uses the specified offline path for storing and retrieving data.
MathUtils - Class in com.mapbox.services.android.navigation.v5.utils
 
MathUtils() - Constructor for class com.mapbox.services.android.navigation.v5.utils.MathUtils
 
maxspeed(MaxSpeed) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
The posted speed limit, for the given annotation segment.
maxspeed() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
The posted speed limit, for the given annotation segment.
MeasurementUtils - Class in com.mapbox.services.android.navigation.v5.utils
 
MetricsLocation - Class in com.mapbox.services.android.navigation.v5.location
 
MetricsLocation(Location) - Constructor for class com.mapbox.services.android.navigation.v5.location.MetricsLocation
 
MetricsRouteProgress - Class in com.mapbox.services.android.navigation.v5.routeprogress
 
MetricsRouteProgress(RouteProgress) - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.MetricsRouteProgress
 
Milestone - Class in com.mapbox.services.android.navigation.v5.milestone
Base Milestone statement.
Milestone(Milestone.Builder) - Constructor for class com.mapbox.services.android.navigation.v5.milestone.Milestone
 
Milestone.Builder - Class in com.mapbox.services.android.navigation.v5.milestone
Build a new Milestone
MilestoneEventListener - Interface in com.mapbox.services.android.navigation.v5.milestone
 
mockLocation(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
mockLocation() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
MOUNTAIN - Static variable in class com.mapbox.services.android.navigation.v5.navigation.OfflineCriteria
Bicycle type for mountain bike.
moveTo(Point) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 

N

NAVIGATION_CHECK_FASTER_ROUTE_INTERVAL - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
In seconds, how quickly FasterRouteDetector will tell RouteProcessorBackgroundThread to check for a faster DirectionsRoute.
NAVIGATION_HIGH_ALERT_DURATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
15 seconds remaining is considered a high alert level when navigating along a LegStep.
NAVIGATION_LOW_ALERT_DURATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
125 seconds remaining is considered a low alert level when navigating along a LegStep.
NAVIGATION_MAX_CAMERA_ADJUSTMENT_ANIMATION_DURATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Maximum duration of the zoom/tilt adjustment animation while tracking.
NAVIGATION_MEDIUM_ALERT_DURATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
70 seconds remaining is considered a medium alert level when navigating along a LegStep.
NAVIGATION_MIN_CAMERA_TILT_ADJUSTMENT_ANIMATION_DURATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Minimum duration of the tilt adjustment animation while tracking.
NAVIGATION_MIN_CAMERA_ZOOM_ADJUSTMENT_ANIMATION_DURATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Minimum duration of the zoom adjustment animation while tracking.
NAVIGATION_MINIMUM_MAP_ZOOM - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Defines the minimum zoom level of the displayed map.
NAVIGATION_NOTIFICATION_CHANNEL - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
String channel used to post the navigation notification (custom or default).
NAVIGATION_NOTIFICATION_ID - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Random integer value used for identifying the navigation notification.
NAVIGATION_VIEW_DARK_THEME - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Key for the set dark theme in preferences
NAVIGATION_VIEW_INITIAL_MAP_POSITION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
NavigationLauncher key for storing initial map position in Intent
NAVIGATION_VIEW_LIGHT_THEME - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
Key for the set light theme in preferences
NAVIGATION_VIEW_PREFERENCE_SET_THEME - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
If a set of light / dark themes been set in SharedPreferences
NAVIGATION_VIEW_ROUTE_KEY - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
NAVIGATION_VIEW_ROUTE_PROFILE_KEY - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
NAVIGATION_VIEW_SIMULATE_ROUTE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
NavigationConstants - Class in com.mapbox.services.android.navigation.v5.navigation
Navigation constants
NavigationConstants.ManeuverModifier - Annotation Type in com.mapbox.services.android.navigation.v5.navigation
 
NavigationConstants.ManeuverType - Annotation Type in com.mapbox.services.android.navigation.v5.navigation
 
NavigationConstants.RoundingIncrement - Annotation Type in com.mapbox.services.android.navigation.v5.navigation
 
NavigationEventListener - Interface in com.mapbox.services.android.navigation.v5.navigation
 
NavigationException - Exception in com.mapbox.services.android.navigation.v5.exception
Generic Exception for all things Mapbox Navigation.
NavigationException(String) - Constructor for exception com.mapbox.services.android.navigation.v5.exception.NavigationException
A form of Throwable that indicates conditions that a reasonable application might want to catch.
NavigationHelper - Class in com.mapbox.services.android.navigation.v5.navigation
This contains several single purpose methods that help out when a new location update occurs and calculations need to be performed on it.
NavigationLibraryLoader - Class in com.mapbox.services.android.navigation.v5.navigation
 
NavigationLibraryLoader() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.NavigationLibraryLoader
 
NavigationLifecycleMonitor - Class in com.mapbox.services.android.navigation.v5.navigation
 
navigationLocationEngineIntervalLagInMilliseconds(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
navigationLocationEngineIntervalLagInMilliseconds() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
NavigationMetricListener - Interface in com.mapbox.services.android.navigation.v5.navigation.metrics
 
navigationNotification(NavigationNotification) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
navigationNotification() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
NavigationNotification - Interface in com.mapbox.services.android.navigation.v5.navigation.notification
Defines a contract in which a custom notification must adhere to when given to MapboxNavigationOptions.
NavigationRoute - Class in com.mapbox.services.android.navigation.v5.navigation
The NavigationRoute class wraps the MapboxDirections class with parameters which must be set in order for a navigation session to successfully begin.
NavigationRoute.Builder - Class in com.mapbox.services.android.navigation.v5.navigation
This builder is used to create a new request to the Mapbox Directions API and removes options which would cause this navigation SDK to not behave properly.
NavigationService - Class in com.mapbox.services.android.navigation.v5.navigation
Internal usage only, use navigation by initializing a new instance of MapboxNavigation and customizing the navigation experience through that class.
NavigationService() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.NavigationService
 
NavigationTimeFormat - Class in com.mapbox.services.android.navigation.v5.navigation
 
NavigationTimeFormat() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.NavigationTimeFormat
 
NavigationTimeFormat.Type - Annotation Type in com.mapbox.services.android.navigation.v5.navigation
 
neq(int, Object) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Check the property does not equals the given value.
NEW_STEP - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
NEXT_STEP_DISTANCE_METERS - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
NEXT_STEP_DURATION_SECONDS - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
none(Trigger.Statement...) - Static method in class com.mapbox.services.android.navigation.v5.milestone.Trigger
Groups a collection of statements in an none relationship.
NONE_SPECIFIED - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationTimeFormat
 

O

OfflineCriteria - Class in com.mapbox.services.android.navigation.v5.navigation
 
OfflineCriteria() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.OfflineCriteria
 
OfflineCriteria.BicycleType - Annotation Type in com.mapbox.services.android.navigation.v5.navigation
Retention policy for the bicycle type parameter in the Directions API.
OfflineCriteria.WaypointType - Annotation Type in com.mapbox.services.android.navigation.v5.navigation
Retention policy for the waypoint type parameter in the Directions API.
OfflineError - Class in com.mapbox.services.android.navigation.v5.navigation
 
OfflineRoute - Class in com.mapbox.services.android.navigation.v5.navigation
The OfflineRoute class wraps the NavigationRoute class with parameters which could be set in order for an offline navigation session to successfully begin.
OfflineRoute.Builder - Class in com.mapbox.services.android.navigation.v5.navigation
 
OfflineTiles - Class in com.mapbox.services.android.navigation.v5.navigation
This is a wrapper class for the MapboxRouteTiles class.
OfflineTiles.Builder - Class in com.mapbox.services.android.navigation.v5.navigation
This builder is used to create a new request to the Mapbox Route Tiles API.
OffRoute - Class in com.mapbox.services.android.navigation.v5.offroute
 
OffRoute() - Constructor for class com.mapbox.services.android.navigation.v5.offroute.OffRoute
 
OffRouteCallback - Interface in com.mapbox.services.android.navigation.v5.offroute
 
OffRouteDetector - Class in com.mapbox.services.android.navigation.v5.offroute
 
OffRouteDetector() - Constructor for class com.mapbox.services.android.navigation.v5.offroute.OffRouteDetector
 
OffRouteListener - Interface in com.mapbox.services.android.navigation.v5.offroute
 
onActivityCreated(Activity, Bundle) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLifecycleMonitor
 
onActivityDestroyed(Activity) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLifecycleMonitor
 
onActivityPaused(Activity) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLifecycleMonitor
 
onActivityResumed(Activity) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLifecycleMonitor
 
onActivitySaveInstanceState(Activity, Bundle) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLifecycleMonitor
 
onActivityStarted(Activity) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLifecycleMonitor
 
onActivityStopped(Activity) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationLifecycleMonitor
 
onArrival(RouteProgress) - Method in interface com.mapbox.services.android.navigation.v5.navigation.metrics.NavigationMetricListener
 
onBind(Intent) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationService
 
onCompletion() - Method in interface com.mapbox.services.android.navigation.v5.navigation.RouteTileDownloadListener
Called when download was completed.
onConfigurationError(OfflineError) - Method in interface com.mapbox.services.android.navigation.v5.navigation.OnOfflineTilesConfiguredCallback
Called when an error has occurred configuring the offline tile data.
onConfigured(int) - Method in interface com.mapbox.services.android.navigation.v5.navigation.OnOfflineTilesConfiguredCallback
Called whe the offline data is initialized and MapboxOfflineRouter.findRoute(OfflineRoute, OnOfflineRouteFoundCallback).
onDestroy() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Critical to place inside your navigation activity so that when your application gets destroyed the navigation service unbinds and gets destroyed, preventing any memory leaks.
onDestroy() - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationService
 
onError(OfflineError) - Method in interface com.mapbox.services.android.navigation.v5.navigation.OnOfflineRouteFoundCallback
Called when there was an error fetching the offline route.
onError(OfflineError) - Method in interface com.mapbox.services.android.navigation.v5.navigation.OnTileVersionsFoundCallback
Called when an error has occurred fetching offline versions.
onError(RefreshError) - Method in interface com.mapbox.services.android.navigation.v5.navigation.RefreshCallback
 
onError(OfflineError) - Method in interface com.mapbox.services.android.navigation.v5.navigation.RouteTileDownloadListener
Called if there is an error with the downloading.
onErrorDownloading() - Method in interface com.mapbox.services.android.navigation.v5.utils.DownloadTask.DownloadListener
 
onErrorReceived(Throwable) - Method in interface com.mapbox.services.android.navigation.v5.route.RouteListener
 
onFinishedDownloading(File) - Method in interface com.mapbox.services.android.navigation.v5.utils.DownloadTask.DownloadListener
 
onMilestoneEvent(RouteProgress, String, Milestone) - Method in interface com.mapbox.services.android.navigation.v5.milestone.MilestoneEventListener
 
onNavigationStopped(Context) - Method in interface com.mapbox.services.android.navigation.v5.navigation.notification.NavigationNotification
Callback for when navigation is stopped via MapboxNavigation.stopNavigation().
OnOfflineRouteFoundCallback - Interface in com.mapbox.services.android.navigation.v5.navigation
Callback used for finding offline routes.
OnOfflineTilesConfiguredCallback - Interface in com.mapbox.services.android.navigation.v5.navigation
Listener that needs to be added to MapboxOfflineRouter.configure(String, OnOfflineTilesConfiguredCallback) to know when offline data is initialized and MapboxOfflineRouter.findRoute(OfflineRoute, OnOfflineRouteFoundCallback) could be called.
onOffRouteEvent(Location) - Method in interface com.mapbox.services.android.navigation.v5.navigation.metrics.NavigationMetricListener
 
onPostExecute(File) - Method in class com.mapbox.services.android.navigation.v5.utils.DownloadTask
 
onProgressChange(Location, RouteProgress) - Method in interface com.mapbox.services.android.navigation.v5.routeprogress.ProgressChangeListener
 
onProgressUpdate(int) - Method in interface com.mapbox.services.android.navigation.v5.navigation.RouteTileDownloadListener
Called with percentage progress updates of the download.
onRefresh(DirectionsRoute) - Method in interface com.mapbox.services.android.navigation.v5.navigation.RefreshCallback
 
onResponseReceived(DirectionsResponse, RouteProgress) - Method in interface com.mapbox.services.android.navigation.v5.route.RouteListener
 
onRouteFound(DirectionsRoute) - Method in interface com.mapbox.services.android.navigation.v5.navigation.OnOfflineRouteFoundCallback
Called when an offline route is found.
onRouteProgressUpdate(RouteProgress) - Method in interface com.mapbox.services.android.navigation.v5.navigation.metrics.NavigationMetricListener
 
onRunning(boolean) - Method in interface com.mapbox.services.android.navigation.v5.navigation.NavigationEventListener
 
onServiceConnected(ComponentName, IBinder) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
 
onServiceDisconnected(ComponentName) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
 
onShouldIncreaseIndex() - Method in interface com.mapbox.services.android.navigation.v5.offroute.OffRouteCallback
This callback will fire when the OffRouteDetector determines that the user location is close enough to the upcoming LegStep.
onStartCommand(Intent, int, int) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationService
Only should be called once since we want the service to continue running until the navigation session ends.
OnTileVersionsFoundCallback - Interface in com.mapbox.services.android.navigation.v5.navigation
onVersionsFound(List<String>) - Method in interface com.mapbox.services.android.navigation.v5.navigation.OnTileVersionsFoundCallback
A list of available offline tile versions that can be used with MapboxOfflineRouter.downloadTiles(OfflineTiles, RouteTileDownloadListener).
origin(Point) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
This sets the starting point on the map where the route will begin.
origin(Point, Double, Double) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
This sets the starting point on the map where the route will begin.
originalDirectionRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
originalDirectionRoute() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
originalDistance() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
originalDuration() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
originalGeometry() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
originalRequestIdentifier(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
originalRequestIdentifier() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
originalStepCount() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
overview(RouteInformation) - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.Camera
Return a list of route coordinates that should be visible when creating the route's overview.
overview(RouteInformation) - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.SimpleCamera
 

P

percentInForeground(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
percentInForeground() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
percentInPortrait(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
percentInPortrait() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
previousStep() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Get the previous step the user traversed along, if the user is still on the first step, this will return null.
profile(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
This selects which mode of transportation the user will be using while navigating from the origin to the final destination.
ProgressChangeListener - Interface in com.mapbox.services.android.navigation.v5.routeprogress
 
push(T) - Method in class com.mapbox.services.android.navigation.v5.utils.RingBuffer
 

R

radiuses(double...) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Optionally, set the maximum distance in meters that each coordinate is allowed to move when snapped to a nearby road segment.
recordFeedback(String, String, String) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Creates a new FeedbackEvent with a given type, description, and source.
refresh(RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.navigation.RouteRefresh
Refreshes the DirectionsRoute included in the RouteProgress and returns it to the callback that was originally passed in.
RefreshCallback - Interface in com.mapbox.services.android.navigation.v5.navigation
 
RefreshError - Class in com.mapbox.services.android.navigation.v5.navigation
 
remainingWaypoints() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Number of waypoints remaining on the current route.
removeFasterRouteListener(FasterRouteListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This removes a specific faster route listener by passing in the instance of it or you can pass in null to remove all the listeners.
removeLocationUpdates(LocationEngineCallback<LocationEngineResult>) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
removeLocationUpdates(PendingIntent) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
removeMilestone(Milestone) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Remove a specific milestone by passing in the instance of it.
removeMilestone(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Remove a specific milestone by passing in the identifier associated with the milestone you'd like to remove.
removeMilestoneEventListener(MilestoneEventListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This removes a specific milestone event listener by passing in the instance of it or you can pass in null to remove all the listeners.
removeNavigationEventListener(NavigationEventListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This removes a specific navigation event listener by passing in the instance of it or you can pass in null to remove all the listeners.
removeOffRouteListener(OffRouteListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This removes a specific off route listener by passing in the instance of it or you can pass in null to remove all the listeners.
removeProgressChangeListener(ProgressChangeListener) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This removes a specific progress change listener by passing in the instance of it or you can pass in null to remove all the listeners.
ReplayRouteLocationEngine - Class in com.mapbox.services.android.navigation.v5.location.replay
 
ReplayRouteLocationEngine() - Constructor for class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
requestIdentifier(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
requestIdentifier() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
requestLocationUpdates(LocationEngineRequest, LocationEngineCallback<LocationEngineResult>, Looper) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
requestLocationUpdates(LocationEngineRequest, PendingIntent) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
rerouteCount(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
rerouteCount() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
RerouteEvent - Class in com.mapbox.services.android.navigation.v5.navigation.metrics
 
RerouteEvent(SessionState) - Constructor for class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
retrieveHistory() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
 
retrieveNonNullUnitType(Context, String) - Method in class com.mapbox.services.android.navigation.v5.utils.LocaleUtils
Returns the unitType passed in if it is not null, otherwise returns the a unitType based on the device Locale.
retrieveSsmlAnnouncementInstruction(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
 
RingBuffer<T> - Class in com.mapbox.services.android.navigation.v5.utils
 
RingBuffer(int) - Constructor for class com.mapbox.services.android.navigation.v5.utils.RingBuffer
 
ROAD - Static variable in class com.mapbox.services.android.navigation.v5.navigation.OfflineCriteria
Bicycle type for road bike.
roughSurfaceBias(Float) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute.Builder
This value is meant to represent how much a cyclist wants to favor or avoid roads with poor/rough surfaces relative to the bicycle type being used.
ROUNDING_INCREMENT_FIFTY - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
ROUNDING_INCREMENT_FIVE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
ROUNDING_INCREMENT_ONE_HUNDRED - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
ROUNDING_INCREMENT_TEN - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
ROUNDING_INCREMENT_TWENTY_FIVE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
roundingIncrement(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
roundingIncrement() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
route() - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.RouteInformation
The current route the user is navigating along.
RouteFetcher - Class in com.mapbox.services.android.navigation.v5.route
This class can be used to fetch new routes given a Location origin and RouteOptions provided by a RouteProgress.
RouteFetcher(Context, String) - Constructor for class com.mapbox.services.android.navigation.v5.route.RouteFetcher
 
RouteInformation - Class in com.mapbox.services.android.navigation.v5.navigation.camera
This class holds all information related to a route and a user's progress along the route.
RouteInformation() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.camera.RouteInformation
 
RouteLegProgress - Class in com.mapbox.services.android.navigation.v5.routeprogress
This is a progress object specific to the current leg the user is on.
RouteLegProgress() - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
 
RouteLegProgress.Builder - Class in com.mapbox.services.android.navigation.v5.routeprogress
 
RouteListener - Interface in com.mapbox.services.android.navigation.v5.route
Will fire when either a successful / failed response is received.
RouteMilestone - Class in com.mapbox.services.android.navigation.v5.milestone
Using a Route Milestone will result in MilestoneEventListener.onMilestoneEvent(RouteProgress, String, Milestone) being invoked only once during a navigation session.
RouteMilestone.Builder - Class in com.mapbox.services.android.navigation.v5.milestone
Build a new RouteMilestone
routeOptions(RouteOptions) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Optionally create a NavigationRoute.Builder based on all variables from given RouteOptions.
routeProgress() - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.RouteInformation
The user's current progress along the route.
RouteProgress - Class in com.mapbox.services.android.navigation.v5.routeprogress
This class contains all progress information at any given time during a navigation session.
RouteProgress() - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
 
RouteProgress.Builder - Class in com.mapbox.services.android.navigation.v5.routeprogress
 
RouteProgressState - Enum in com.mapbox.services.android.navigation.v5.routeprogress
Contains the various progress states that can occur while navigating.
RouteProgressStateMap - Class in com.mapbox.services.android.navigation.v5.routeprogress
 
RouteProgressStateMap() - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgressStateMap
 
RouteRefresh - Class in com.mapbox.services.android.navigation.v5.navigation
This class allows the developer to interact with the Directions Refresh API, receiving updated annotations for a route previously requested with the enableRefresh flag.
RouteRefresh(String, RefreshCallback) - Constructor for class com.mapbox.services.android.navigation.v5.navigation.RouteRefresh
Creates a RouteRefresh object which calls the RefreshCallback with updated routes.
RouteStepProgress - Class in com.mapbox.services.android.navigation.v5.routeprogress
This is a progress object specific to the current step the user is on.
RouteStepProgress() - Constructor for class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
 
RouteTileDownloadListener - Interface in com.mapbox.services.android.navigation.v5.navigation
Listener for receiving updates about a route tile download.
RouteUtils - Class in com.mapbox.services.android.navigation.v5.utils
 
RouteUtils() - Constructor for class com.mapbox.services.android.navigation.v5.utils.RouteUtils
 
run() - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 

S

secondsSinceLastReroute(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
secondsSinceLastReroute() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
sessionIdentifier(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
sessionIdentifier() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
SessionState - Class in com.mapbox.services.android.navigation.v5.navigation.metrics
 
SessionState() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
SessionState.Builder - Class in com.mapbox.services.android.navigation.v5.navigation.metrics
 
setCameraEngine(Camera) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Navigation uses a camera engine to determine the camera position while routing.
setDescription(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
setFasterRouteEngine(FasterRoute) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This API is used to pass in a custom implementation of the faster-route detection logic, A default faster-route detection engine is attached when this class is first initialized; setting a custom one will replace it with your own implementation.
setFeedbackType(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
setIdentifier(int) - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone.Builder
Milestone specific identifier as an int value, useful for deciphering which milestone invoked MilestoneEventListener.onMilestoneEvent(RouteProgress, String, Milestone).
setInstruction(Instruction) - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone.Builder
 
setLocationEngine(LocationEngine) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Navigation needs an instance of location engine in order to acquire user location information and handle events based off of the current information.
setLocationEngineRequest(LocationEngineRequest) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This method updates the LocationEngineRequest that is used with the LocationEngine.
setNewDistanceRemaining(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
setNewDurationRemaining(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
setNewRouteGeometry(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
setOffRouteEngine(OffRoute) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This API is used to pass in a custom implementation of the off-route logic, A default off-route detection engine is attached when this class is first initialized; setting a custom one will replace it with your own implementation.
setRerouteSessionState(SessionState) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.RerouteEvent
 
setScreenshot(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.FeedbackEvent
 
setSnapEngine(Snap) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
This API is used to pass in a custom implementation of the snapping logic, A default snap-to-route engine is attached when this class is first initialized; setting a custom one will replace it with your own implementation.
setTrigger(Trigger.Statement) - Method in class com.mapbox.services.android.navigation.v5.milestone.BannerInstructionMilestone.Builder
 
setTrigger(Trigger.Statement) - Method in class com.mapbox.services.android.navigation.v5.milestone.Milestone.Builder
The list of triggers that are used to determine whether this milestone should invoke MilestoneEventListener.onMilestoneEvent(RouteProgress, String, Milestone)
setTrigger(Trigger.Statement) - Method in class com.mapbox.services.android.navigation.v5.milestone.RouteMilestone.Builder
 
setTrigger(Trigger.Statement) - Method in class com.mapbox.services.android.navigation.v5.milestone.StepMilestone.Builder
 
setTrigger(Trigger.Statement) - Method in class com.mapbox.services.android.navigation.v5.milestone.VoiceInstructionMilestone.Builder
 
shouldCheckFasterRoute(Location, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.route.FasterRoute
This method determine if a new DirectionsResponse should be retrieved by RouteFetcher.
shouldCheckFasterRoute(Location, RouteProgress) - Method in class com.mapbox.services.android.navigation.v5.route.FasterRouteDetector
 
shouldUpdate(String, String, int) - Method in class com.mapbox.services.android.navigation.v5.utils.DistanceFormatter
Method that can be used to check if an instance of DistanceFormatter needs to be updated based on the passed language / unitType.
SimpleCamera - Class in com.mapbox.services.android.navigation.v5.navigation.camera
The default camera used by MapboxNavigation.
SimpleCamera() - Constructor for class com.mapbox.services.android.navigation.v5.navigation.camera.SimpleCamera
 
Snap - Class in com.mapbox.services.android.navigation.v5.snap
 
Snap() - Constructor for class com.mapbox.services.android.navigation.v5.snap.Snap
 
SnapToRoute - Class in com.mapbox.services.android.navigation.v5.snap
 
SnapToRoute() - Constructor for class com.mapbox.services.android.navigation.v5.snap.SnapToRoute
 
SpanItem - Interface in com.mapbox.services.android.navigation.v5.utils.span
 
SpanUtils - Class in com.mapbox.services.android.navigation.v5.utils.span
 
SpanUtils() - Constructor for class com.mapbox.services.android.navigation.v5.utils.span.SpanUtils
 
speed(Double) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation.Builder
The speed, in meters per second, for the given annotation segment.
speed() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.CurrentLegAnnotation
The speed, in meters per second, for the given annotation segment.
splitter(String) - Static method in class com.mapbox.services.android.navigation.v5.utils.abbreviation.StringAbbreviator
 
startNavigation(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Calling This begins a new navigation session using the provided directions route.
startTimestamp(Date) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
startTimestamp() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
Statement() - Constructor for class com.mapbox.services.android.navigation.v5.milestone.Trigger.Statement
 
STEP_DISTANCE_REMAINING_METERS - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
The Milestone will be triggered based on the distance remaining.
STEP_DISTANCE_TOTAL_METERS - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
The Milestone will be triggered based on the total step distance.
STEP_DISTANCE_TRAVELED_METERS - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
STEP_DURATION_REMAINING_SECONDS - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
The Milestone will be triggered based on the duration remaining.
STEP_DURATION_TOTAL_SECONDS - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
The Milestone will be triggered based on the total step duration.
STEP_INDEX - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
The Milestone will be triggered based on the current step index.
STEP_MANEUVER_MODIFIER_LEFT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_MODIFIER_RIGHT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_MODIFIER_SHARP_LEFT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_MODIFIER_SHARP_RIGHT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_MODIFIER_SLIGHT_LEFT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_MODIFIER_SLIGHT_RIGHT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_MODIFIER_STRAIGHT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_MODIFIER_UTURN - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_ARRIVE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_CONTINUE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_DEPART - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_END_OF_ROAD - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_EXIT_ROTARY - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_EXIT_ROUNDABOUT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_FORK - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_MERGE - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_NEW_NAME - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_NOTIFICATION - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_OFF_RAMP - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_ON_RAMP - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_ROTARY - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_ROUNDABOUT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_ROUNDABOUT_TURN - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
STEP_MANEUVER_TYPE_TURN - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
stepDistanceRemaining(double) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
stepIndex() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Index representing the current step the user is on.
stepIndex(int) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
StepMilestone - Class in com.mapbox.services.android.navigation.v5.milestone
Using a Step Milestone will result in MilestoneEventListener.onMilestoneEvent(RouteProgress, String, Milestone) being invoked every step if the condition validation returns true.
StepMilestone.Builder - Class in com.mapbox.services.android.navigation.v5.milestone
Build a new StepMilestone
stopNavigation() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Call this when the navigation session needs to end before the user reaches their final destination.
StringAbbreviator - Class in com.mapbox.services.android.navigation.v5.utils.abbreviation
 
StringAbbreviator() - Constructor for class com.mapbox.services.android.navigation.v5.utils.abbreviation.StringAbbreviator
 

T

TelemetryEvent - Interface in com.mapbox.services.android.navigation.v5.navigation.metrics
 
TextSpanItem - Class in com.mapbox.services.android.navigation.v5.utils.span
 
TextSpanItem(Object, String) - Constructor for class com.mapbox.services.android.navigation.v5.utils.span.TextSpanItem
 
THROUGH - Static variable in class com.mapbox.services.android.navigation.v5.navigation.OfflineCriteria
Through waypoint type.
tilt(RouteInformation) - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.Camera
The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).
tilt(RouteInformation) - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.SimpleCamera
 
TimeFormatter - Class in com.mapbox.services.android.navigation.v5.utils.time
 
TimeFormatter() - Constructor for class com.mapbox.services.android.navigation.v5.utils.time.TimeFormatter
 
timeFormatType(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions.Builder
 
timeFormatType() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
toBuilder() - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions
 
toBuilder() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
toBuilder() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
 
toggleHistory(boolean) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
 
Trigger - Class in com.mapbox.services.android.navigation.v5.milestone
Utility to build Trigger expressions more easily.
Trigger.Statement - Class in com.mapbox.services.android.navigation.v5.milestone
Base Trigger statement.
TriggerProperty - Class in com.mapbox.services.android.navigation.v5.milestone
The currently support properties used for triggering a milestone.
TriggerProperty() - Constructor for class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
tripIdentifier(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState.Builder
 
tripIdentifier() - Method in class com.mapbox.services.android.navigation.v5.navigation.metrics.SessionState
 
TRUE - Static variable in class com.mapbox.services.android.navigation.v5.milestone.TriggerProperty
 
TURN_LANE_INDICATION_LEFT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
TURN_LANE_INDICATION_RIGHT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
TURN_LANE_INDICATION_SLIGHT_LEFT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
TURN_LANE_INDICATION_SLIGHT_RIGHT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
TURN_LANE_INDICATION_STRAIGHT - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
TURN_LANE_INDICATION_UTURN - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
TWELVE_HOURS - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationTimeFormat
 
TWENTY_FOUR_HOURS - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationTimeFormat
 

U

upcomingIntersection(StepIntersection) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
upcomingIntersection() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteStepProgress
The intersection being traveled towards on the route.
upComingStep() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Get the next/upcoming step immediately after the current step.
upcomingStepPoints() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteLegProgress
Provides a list of points that represent the upcoming step step geometry.
upcomingStepPoints(List<Point>) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
upcomingStepPoints() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Provides a list of points that represent the upcoming step step geometry.
updateDelay(int) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
updateFeedback(String, String, String, String) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Updates an existing feedback event generated by MapboxNavigation.recordFeedback(String, String, String).
updateNotification(RouteProgress) - Method in interface com.mapbox.services.android.navigation.v5.navigation.notification.NavigationNotification
If enabled, this method will be called every time a new RouteProgress is generated.
updateRouteLegIndex(int) - Method in class com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation
Use this method to update the leg index of the current DirectionsRoute being traveled along.
updateSpeed(int) - Method in class com.mapbox.services.android.navigation.v5.location.replay.ReplayRouteLocationEngine
 
user(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
The username for the account that the directions engine runs on.
userOffRoute(Location) - Method in interface com.mapbox.services.android.navigation.v5.offroute.OffRouteListener
 
userTrueDistanceFromStep(Point, LegStep) - Static method in class com.mapbox.services.android.navigation.v5.utils.MeasurementUtils
Calculates the distance between the users current raw Location object to the closest Point in the LegStep.

V

ValidationUtils - Class in com.mapbox.services.android.navigation.v5.utils
 
validDirectionsRoute(DirectionsRoute, boolean) - Static method in class com.mapbox.services.android.navigation.v5.utils.ValidationUtils
 
valueOf(String) - Static method in enum com.mapbox.services.android.navigation.v5.routeprogress.RouteProgressState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mapbox.services.android.navigation.v5.routeprogress.RouteProgressState
Returns an array containing the constants of this enum type, in the order they are declared.
version(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineTiles.Builder
The string version for the tile set being requested.
version() - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineTiles
Returns the version of the current builder.
VOICE_INSTRUCTION_MILESTONE_ID - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
If default voice instructions are enabled, this identifier will be used to differentiate them from custom milestones in the MilestoneEventListener.
voiceInstruction(VoiceInstruction) - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress.Builder
 
voiceInstruction() - Method in class com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress
Current voice instruction.
VoiceInstructionMilestone - Class in com.mapbox.services.android.navigation.v5.milestone
A default milestone that is added to MapboxNavigation when default milestones are enabled.
VoiceInstructionMilestone.Builder - Class in com.mapbox.services.android.navigation.v5.milestone
 
voiceUnits(String) - Method in class com.mapbox.services.android.navigation.v5.navigation.NavigationRoute.Builder
Change the units used for voice announcements, this does not change the units provided in other fields outside of the VoiceInstructions object.

W

WAYNAME_OFFSET - Static variable in class com.mapbox.services.android.navigation.v5.navigation.NavigationConstants
 
waypointTypes(List<String>) - Method in class com.mapbox.services.android.navigation.v5.navigation.OfflineRoute.Builder
The same waypoint types the user originally made when the request was made.
wrap(double, double, double) - Static method in class com.mapbox.services.android.navigation.v5.utils.MathUtils
Constrains value to the given range (including min, excluding max) via modular arithmetic.

Z

zoom(RouteInformation) - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.Camera
Zoom level near the center of the screen.
zoom(RouteInformation) - Method in class com.mapbox.services.android.navigation.v5.navigation.camera.SimpleCamera
 
A B C D E F G H I L M N O P R S T U V W Z 
Skip navigation links
Mapbox Android Navigation SDK 0.30.0 Reference

© 2019 Mapbox. All rights reserved.