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

A

addCustomMarker(SymbolOptions) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Adds a custom marker to the map based on the options provided.
addDestinationMarker(Point) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Adds a marker icon on the map at the given position.
addLayerToMap(MapboxMap, Layer, String) - Static method in class com.mapbox.services.android.navigation.ui.v5.utils.MapUtils
addLayerToMap(Style, Layer, String) - Static method in class com.mapbox.services.android.navigation.ui.v5.utils.MapUtils
Generic method for adding layers to the map.
addMarker(Context, Point) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Deprecated.
Use NavigationMapboxMap.addDestinationMarker(Point) instead. A Context is no longer needed.
addMarker(Point) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
addMarker(Point) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
addOnCameraTrackingChangedListener(OnCameraTrackingChangedListener) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Add a OnCameraTrackingChangedListener to the LocationComponent that is wrapped within this class.
addOnClickListener(View.OnClickListener) - Method in class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
Adds an onClickListener to the button
addOnClickListener(View.OnClickListener) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationButton
Adds an onClickListener to the button
addOnClickListener(View.OnClickListener) - Method in class com.mapbox.services.android.navigation.ui.v5.RecenterButton
Adds an onClickListener to the button
addOnClickListener(View.OnClickListener) - Method in class com.mapbox.services.android.navigation.ui.v5.SoundButton
Adds an onClickListener to the button
addOnTrackingModeChangedListener(OnTrackingModeChangedListener) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Adds given tracking mode changed listener for receiving notification of camera mode changes.
addOnTrackingModeTransitionListener(OnTrackingModeTransitionListener) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Adds given tracking mode transition listener for receiving notification of camera transition updates.
addOnWayNameChangedListener(OnWayNameChangedListener) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Add a OnWayNameChangedListener for listening to updates to the way name shown on the map below the location icon.
addProgressChangeListener(MapboxNavigation) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
This method can be called if you did not pass an instance of MapboxNavigation to the constructor.
addProgressChangeListener(MapboxNavigation) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Can be used to automatically drive the map camera / route updates and arrow once navigation has started.
addProgressChangeListener(MapboxNavigation) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
This method will allow this class to listen to new routes based on the progress updates from MapboxNavigation.
addRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Allows adding a single primary route for the user to traverse along.
addRoutes(List<DirectionsRoute>) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Provide a list of DirectionsRoutes, the primary route will default to the first route in the directions route list.
addTurnLanes(List<BannerComponents>, String) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneAdapter
 
adjustLocationIconWith(int[]) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Use this method to position the location icon on the map.
AlertView - Class in com.mapbox.services.android.navigation.ui.v5.alert
A custom View that can show a quick message to a user.
AlertView(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.alert.AlertView
 
AlertView(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.alert.AlertView
 
AlertView(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.alert.AlertView
 
allowRerouteFrom(Point) - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.RouteListener
Will trigger in an off route scenario.
announcement() - Method in class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement
Announcement text without any type of markup.
announcement(String) - Method in class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement.Builder
Announcement text without any type of markup.

B

BannerInstructionModel - Class in com.mapbox.services.android.navigation.ui.v5.instruction
 
BannerInstructionModel(DistanceFormatter, RouteProgress, BannerInstructions) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.BannerInstructionModel
 
bannerInstructionModel - Variable in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
 
BannerInstructionsListener - Interface in com.mapbox.services.android.navigation.ui.v5.listeners
This listener will be triggered when a BannerInstructions is about to be displayed.
bannerInstructionsListener() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
bannerInstructionsListener(BannerInstructionsListener) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
bottomSheetCallback() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
bottomSheetCallback(BottomSheetBehavior.BottomSheetCallback) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
build() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
 
build() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
build() - Method in class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement.Builder
 
builder() - Static method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions
 
Builder() - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
 
builder() - Static method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
Builder() - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
builder() - Static method in class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement
 
Builder() - Constructor for class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement.Builder
 

C

cacheInstructions(List<String>) - Method in class com.mapbox.services.android.navigation.ui.v5.voice.VoiceInstructionLoader
 
CameraUpdateMode - Enum in com.mapbox.services.android.navigation.ui.v5.camera
This class is passed to NavigationCameraUpdate to determine the update's behavior when passed to NavigationCamera.
cancelFeedback() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
Used to cancel an existing FeedbackItem.
captureView(View) - Static method in class com.mapbox.services.android.navigation.ui.v5.utils.ViewUtils
 
clearMap() - Method in class com.mapbox.services.android.navigation.ui.v5.camera.DynamicCamera
 
clearMarkers() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Clears all markers on the map that have been added by this class.
com.mapbox.services.android.navigation.ui.v5 - package com.mapbox.services.android.navigation.ui.v5
Contains classes which define the UI components of the Navigation UI SDK
com.mapbox.services.android.navigation.ui.v5.alert - package com.mapbox.services.android.navigation.ui.v5.alert
 
com.mapbox.services.android.navigation.ui.v5.camera - package com.mapbox.services.android.navigation.ui.v5.camera
 
com.mapbox.services.android.navigation.ui.v5.feedback - package com.mapbox.services.android.navigation.ui.v5.feedback
 
com.mapbox.services.android.navigation.ui.v5.instruction - package com.mapbox.services.android.navigation.ui.v5.instruction
 
com.mapbox.services.android.navigation.ui.v5.instruction.maneuver - package com.mapbox.services.android.navigation.ui.v5.instruction.maneuver
 
com.mapbox.services.android.navigation.ui.v5.instruction.turnlane - package com.mapbox.services.android.navigation.ui.v5.instruction.turnlane
 
com.mapbox.services.android.navigation.ui.v5.listeners - package com.mapbox.services.android.navigation.ui.v5.listeners
 
com.mapbox.services.android.navigation.ui.v5.map - package com.mapbox.services.android.navigation.ui.v5.map
 
com.mapbox.services.android.navigation.ui.v5.route - package com.mapbox.services.android.navigation.ui.v5.route
 
com.mapbox.services.android.navigation.ui.v5.summary - package com.mapbox.services.android.navigation.ui.v5.summary
 
com.mapbox.services.android.navigation.ui.v5.summary.list - package com.mapbox.services.android.navigation.ui.v5.summary.list
 
com.mapbox.services.android.navigation.ui.v5.utils - package com.mapbox.services.android.navigation.ui.v5.utils
 
com.mapbox.services.android.navigation.ui.v5.voice - package com.mapbox.services.android.navigation.ui.v5.voice
 
ConnectivityStatusProvider - Class in com.mapbox.services.android.navigation.ui.v5
TODO internal package
ConnectivityStatusProvider(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.ConnectivityStatusProvider
 
CREATOR - Static variable in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMapInstanceState
 

D

darkThemeResId(Integer) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
 
darkThemeResId() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
darkThemeResId(Integer) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
describeContents() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMapInstanceState
 
directionsRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
 
directionsRoute() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
directionsRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
drawArrive(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrive(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArriveRight(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArriveRight(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArriveright2(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArriveright2(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrow180Right(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrow180Right(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrowRight(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrowRight(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrowSharpRight(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrowSharpRight(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrowSlightRight(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrowSlightRight(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrowStraight(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawArrowStraight(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawDestination(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawDestination(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawFork(Canvas, int, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawFork(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawMerge(Canvas, int, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawMerge(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawOffRamp(Canvas, int, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawOffRamp(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawRoundabout(Canvas, int, int, PointF, float) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawRoundabout(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, int, PointF, float, float) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Will draw the given DirectionsRoute on the map using the colors defined in your given style.
drawRoute(DirectionsRoute) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
drawRoute(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
drawRoutes(List<DirectionsRoute>) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Will draw the given list of DirectionsRoute on the map using the colors defined in your given style.
drawStarting(Canvas, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
drawStarting(Canvas, RectF, ManeuversStyleKit.ResizingBehavior, int, PointF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
DynamicCamera - Class in com.mapbox.services.android.navigation.ui.v5.camera
 
DynamicCamera(MapboxMap) - Constructor for class com.mapbox.services.android.navigation.ui.v5.camera.DynamicCamera
 

E

encodeView(Bitmap) - Static method in class com.mapbox.services.android.navigation.ui.v5.utils.ViewUtils
 
evictVoiceInstructions() - Method in class com.mapbox.services.android.navigation.ui.v5.voice.VoiceInstructionLoader
 

F

FeedbackAdapter - Class in com.mapbox.services.android.navigation.ui.v5.feedback
 
FeedbackBottomSheet - Class in com.mapbox.services.android.navigation.ui.v5.feedback
 
FeedbackBottomSheet() - Constructor for class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
FeedbackBottomSheetListener - Interface in com.mapbox.services.android.navigation.ui.v5.feedback
 
FeedbackButton - Class in com.mapbox.services.android.navigation.ui.v5
 
FeedbackButton(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
 
FeedbackButton(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
 
FeedbackButton(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
 
FeedbackClickListener - Class in com.mapbox.services.android.navigation.ui.v5.feedback
 
FeedbackClickListener.ClickCallback - Interface in com.mapbox.services.android.navigation.ui.v5.feedback
 
FeedbackItem - Class in com.mapbox.services.android.navigation.ui.v5.feedback
 
FeedbackListener - Interface in com.mapbox.services.android.navigation.ui.v5.listeners
A listener that can be implemented and added to NavigationViewOptions to hook into feedback related events occurring in NavigationView.
feedbackListener(FeedbackListener) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
feedbackListener() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
forceResetZoomLevel() - Method in class com.mapbox.services.android.navigation.ui.v5.camera.DynamicCamera
Called when the zoom level should force update on the next usage of DynamicCamera.zoom(RouteInformation).

G

getAlertText() - Method in class com.mapbox.services.android.navigation.ui.v5.alert.AlertView
Returns the current text being shown by the AlertView.
getBitmapFromDrawable(Drawable) - Static method in class com.mapbox.services.android.navigation.ui.v5.utils.MapImageUtils
 
getCameraTrackingMode() - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Getter for NavigationCamera.TrackingMode that's being used when tracking is enabled.
getDatabasePath() - Method in class com.mapbox.services.android.navigation.ui.v5.MapOfflineOptions
The offline path to the offline map database.
getDescription() - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackItem
 
getFeedbackType() - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackItem
 
getInstance() - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.ImageCreator
Primary access method (using singleton pattern)
getItemCount() - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackAdapter
 
getItemCount() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneAdapter
 
getItemCount() - Method in class com.mapbox.services.android.navigation.ui.v5.summary.list.InstructionListAdapter
 
getLifecycle() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
getStyleUrl() - Method in class com.mapbox.services.android.navigation.ui.v5.MapOfflineOptions
The map style URL for the offline map database.

H

handleBackPressed() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
 
hide() - Method in class com.mapbox.services.android.navigation.ui.v5.alert.AlertView
Hides the View with a slide up animation if the View is currently VISIBLE.
hide() - Method in class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
Hides the button
hide() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationButton
Hides the button
hide() - Method in class com.mapbox.services.android.navigation.ui.v5.RecenterButton
Sets visibility to INVISIBLE.
hide() - Method in class com.mapbox.services.android.navigation.ui.v5.SoundButton
Hides the widget
hideInstructionList() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Hide the instruction list.
hideRecenterBtn() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
hideRecenterBtn() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
hideRerouteState() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Will slide the reroute view up to the top of the screen and hide it
hideRerouteState() - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
Hides the reroute progress bar and sets rerouting state to false to text will begin updating again.

I

ImageCreator - Class in com.mapbox.services.android.navigation.ui.v5.instruction
Utility class that can be used to load a given BannerText into the provided TextView.
initialize(Context) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.ImageCreator
Must be called before loading images.
initialize(OnNavigationReadyCallback) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Should be called after NavigationView.onCreate(Bundle).
initialize(OnNavigationReadyCallback, CameraPosition) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Should be called after NavigationView.onCreate(Bundle).
initialMapCameraPosition(CameraPosition) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
 
initialMapCameraPosition() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions
 
InstructionListAdapter - Class in com.mapbox.services.android.navigation.ui.v5.summary.list
 
InstructionListAdapter(RouteUtils, DistanceFormatter) - Constructor for class com.mapbox.services.android.navigation.ui.v5.summary.list.InstructionListAdapter
 
InstructionListListener - Interface in com.mapbox.services.android.navigation.ui.v5.listeners
A listener that is triggered when the instruction list in InstructionView is shown or hidden.
instructionListListener(InstructionListListener) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
instructionListListener() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
InstructionLoader - Class in com.mapbox.services.android.navigation.ui.v5.instruction
Utility class that can be used to load a given BannerText into the provided TextView.
InstructionLoader(TextView, BannerText) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionLoader
Creates an InstructionLoader which can handle highway shields and also takes into account abbreviations.
InstructionModel - Class in com.mapbox.services.android.navigation.ui.v5.instruction
 
InstructionModel(DistanceFormatter, RouteProgress) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionModel
 
instructionModel - Variable in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
 
InstructionTarget - Class in com.mapbox.services.android.navigation.ui.v5.instruction
 
InstructionView - Class in com.mapbox.services.android.navigation.ui.v5.instruction
A view that can be used to display upcoming maneuver information and control voice instruction mute / unmute.
InstructionView(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
 
InstructionView(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
 
InstructionView(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
 
isConnected() - Method in class com.mapbox.services.android.navigation.ui.v5.ConnectivityStatusProvider
 
isConnectedFast() - Method in class com.mapbox.services.android.navigation.ui.v5.ConnectivityStatusProvider
 
isIncidentsVisible() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Returns true if the map has incidents layers and they are visible and will return false otherwise.
isMuted() - Method in class com.mapbox.services.android.navigation.ui.v5.voice.NavigationSpeechPlayer
Returns the current muted state of the player.
isMuted() - Method in interface com.mapbox.services.android.navigation.ui.v5.voice.SpeechPlayer
 
isOffRoute - Variable in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
 
isRecenterButtonVisible() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
isRecenterButtonVisible() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
isShowingInstructionList() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Can be used to determine the visibility of the instruction list.
isSummaryBottomSheetHidden() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
isSummaryBottomSheetHidden() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
isTrackingEnabled() - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Getter for current state of tracking.
isTrafficVisible() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Returns true if the map has traffic layers and they are visible and will return false otherwise.
isWayNameVisible() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Provides the current visibility of the way name view.

L

lightThemeResId(Integer) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
 
lightThemeResId() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
lightThemeResId(Integer) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
loadBitmapFromView(View) - Static method in class com.mapbox.services.android.navigation.ui.v5.utils.ViewUtils
 
loadInstruction() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionLoader
Takes the given components from the BannerText and creates a new Spannable with text / ImageSpans which is loaded into the given TextView.
locationEngine(LocationEngine) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
locationEngine() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 

M

ManeuversStyleKit - Class in com.mapbox.services.android.navigation.ui.v5.instruction.maneuver
Created on Oct 31, 2017.
ManeuversStyleKit() - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
ManeuversStyleKit.ResizingBehavior - Enum in com.mapbox.services.android.navigation.ui.v5.instruction.maneuver
 
ManeuverView - Class in com.mapbox.services.android.navigation.ui.v5.instruction.maneuver
A view that draws a maneuver arrow indicating the upcoming maneuver.
ManeuverView(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
A custom view that can be used with the Mapbox Directions API.
ManeuverView(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
A custom view that can be used with the Mapbox Directions API.
ManeuverView(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
A custom view that can be used with the Mapbox Directions API.
MapboxNavigationActivity - Class in com.mapbox.services.android.navigation.ui.v5
Serves as a launching point for the custom drop-in UI, NavigationView.
MapboxNavigationActivity() - Constructor for class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
MapImageUtils - Class in com.mapbox.services.android.navigation.ui.v5.utils
 
MapImageUtils() - Constructor for class com.mapbox.services.android.navigation.ui.v5.utils.MapImageUtils
 
MapOfflineOptions - Class in com.mapbox.services.android.navigation.ui.v5
 
MapOfflineOptions(String, String) - Constructor for class com.mapbox.services.android.navigation.ui.v5.MapOfflineOptions
Add an offline path and style URL for loading an offline map database.
MapUtils - Class in com.mapbox.services.android.navigation.ui.v5.utils
Utils class useful for performing map operations such as adding sources, layers, and more.
milestoneEventListener(MilestoneEventListener) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
milestoneEventListener() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
milestones(List<Milestone>) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
milestones() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 

N

NAVIGATION_TRACKING_MODE_GPS - Static variable in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Camera tracks the user location, with bearing provided by the location update.
NAVIGATION_TRACKING_MODE_NONE - Static variable in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Camera does not tack the user location.
NAVIGATION_TRACKING_MODE_NORTH - Static variable in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Camera tracks the user location, with bearing always set to north (0).
NavigationAlertView - Class in com.mapbox.services.android.navigation.ui.v5.instruction
 
NavigationAlertView(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
 
NavigationAlertView(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
 
NavigationAlertView(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
 
NavigationButton - Interface in com.mapbox.services.android.navigation.ui.v5
 
NavigationCamera - Class in com.mapbox.services.android.navigation.ui.v5.camera
Updates the map camera while navigating.
NavigationCamera(MapboxMap, MapboxNavigation, LocationComponent) - Constructor for class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Creates an instance of NavigationCamera.
NavigationCamera(MapboxMap, LocationComponent) - Constructor for class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Creates an instance of NavigationCamera.
NavigationCamera.TrackingMode - Annotation Type in com.mapbox.services.android.navigation.ui.v5.camera
 
NavigationCameraUpdate - Class in com.mapbox.services.android.navigation.ui.v5.camera
NavigationCameraUpdate(CameraUpdate) - Constructor for class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCameraUpdate
Creates and instance of this class, taking a CameraUpdate that has already been built.
NavigationContract - Interface in com.mapbox.services.android.navigation.ui.v5
 
NavigationContract.View - Interface in com.mapbox.services.android.navigation.ui.v5
 
NavigationLauncher - Class in com.mapbox.services.android.navigation.ui.v5
Use this class to launch the navigation UI
NavigationLauncher() - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationLauncher
 
NavigationLauncherOptions - Class in com.mapbox.services.android.navigation.ui.v5
 
NavigationLauncherOptions() - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions
 
NavigationLauncherOptions.Builder - Class in com.mapbox.services.android.navigation.ui.v5
 
NavigationListener - Interface in com.mapbox.services.android.navigation.ui.v5.listeners
A listener that can be implemented and added to NavigationViewOptions to hook into navigation related events occurring in NavigationView.
navigationListener(NavigationListener) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
navigationListener() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
NavigationMapboxMap - Class in com.mapbox.services.android.navigation.ui.v5.map
Wrapper class for MapboxMap.
NavigationMapboxMap(MapView, MapboxMap) - Constructor for class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Constructor that can be used once OnMapReadyCallback has been called via MapView.getMapAsync(OnMapReadyCallback).
NavigationMapboxMapInstanceState - Class in com.mapbox.services.android.navigation.ui.v5.map
 
NavigationMapRoute - Class in com.mapbox.services.android.navigation.ui.v5.route
Provide a route using NavigationMapRoute.addRoutes(List) and a route will be drawn using runtime styling.
NavigationMapRoute(MapView, MapboxMap) - Constructor for class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Construct an instance of NavigationMapRoute.
NavigationMapRoute(MapView, MapboxMap, String) - Constructor for class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Construct an instance of NavigationMapRoute.
NavigationMapRoute(MapboxNavigation, MapView, MapboxMap) - Constructor for class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Construct an instance of NavigationMapRoute.
NavigationMapRoute(MapboxNavigation, MapView, MapboxMap, String) - Constructor for class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Construct an instance of NavigationMapRoute.
NavigationMapRoute(MapboxNavigation, MapView, MapboxMap, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Construct an instance of NavigationMapRoute.
NavigationMapRoute(MapboxNavigation, MapView, MapboxMap, int, String) - Constructor for class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Construct an instance of NavigationMapRoute.
navigationOptions(MapboxNavigationOptions) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
navigationOptions() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
NavigationSnapshotReadyCallback - Class in com.mapbox.services.android.navigation.ui.v5
 
NavigationSpeechPlayer - Class in com.mapbox.services.android.navigation.ui.v5.voice
Used to play SpeechAnnouncements.
NavigationSpeechPlayer(SpeechPlayerProvider) - Constructor for class com.mapbox.services.android.navigation.ui.v5.voice.NavigationSpeechPlayer
 
NavigationUiOptions - Class in com.mapbox.services.android.navigation.ui.v5
 
NavigationUiOptions() - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
NavigationView - Class in com.mapbox.services.android.navigation.ui.v5
View that creates the drop-in UI.
NavigationView(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
NavigationView(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
NavigationView(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
NavigationViewModel - Class in com.mapbox.services.android.navigation.ui.v5
 
NavigationViewModel(Application) - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
 
NavigationViewOptions - Class in com.mapbox.services.android.navigation.ui.v5
 
NavigationViewOptions() - Constructor for class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
NavigationViewOptions.Builder - Class in com.mapbox.services.android.navigation.ui.v5
 
newInstance(FeedbackBottomSheetListener, long) - Static method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 

O

offlineMapOptions(MapOfflineOptions) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
Add options to configure offline maps.
offlineMapOptions() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
offlineMapOptions(MapOfflineOptions) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
Add options to configure offline maps.
offlineRoutingTilesPath(String) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
Add an offline path for loading offline routing data.
offlineRoutingTilesPath() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
offlineRoutingTilesPath(String) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
Add an offline path for loading offline routing data.
offlineRoutingTilesVersion(String) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
Add an offline tile version.
offlineRoutingTilesVersion() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
offlineRoutingTilesVersion(String) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
Add an offline tile version.
onAnimationCancel(Animator) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onAnimationEnd(Animator) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onAnimationRepeat(Animator) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onAnimationStart(Animator) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onArrival() - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.RouteListener
Will trigger when a user has arrived at a given waypoint along a DirectionsRoute.
onAttachedToWindow() - Method in class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
 
onAttachedToWindow() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
 
onAttachedToWindow() - Method in class com.mapbox.services.android.navigation.ui.v5.RecenterButton
 
onAttachedToWindow() - Method in class com.mapbox.services.android.navigation.ui.v5.SoundButton
 
onBackPressed() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onBackPressed() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
If the instruction list is showing and onBackPressed is called, hide the instruction list and do not hide the activity or fragment.
onBindViewHolder(FeedbackViewHolder, int) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackAdapter
 
onBindViewHolder(TurnLaneViewHolder, int) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneAdapter
 
onBindViewHolder(InstructionViewHolder, int) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.list.InstructionListAdapter
 
onBitmapFailed(Exception, Drawable) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionTarget
 
onBitmapLoaded(Bitmap, Picasso.LoadedFrom) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionTarget
 
onCancelNavigation() - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.NavigationListener
Will be triggered when the user clicks on the cancel "X" icon while navigating.
onCancelNavigation() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onCleared() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
 
onCreate(Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onCreate(Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onCreate(Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Uses savedInstanceState as a cue to restore state (if not null).
onCreateDialog(Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onCreateViewHolder(ViewGroup, int) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackAdapter
 
onCreateViewHolder(ViewGroup, int) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneAdapter
 
onCreateViewHolder(ViewGroup, int) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.list.InstructionListAdapter
 
onDestroy() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onDestroy() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Called to ensure the MapView is destroyed properly.
onDestroy(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
 
onDestroy() - Method in class com.mapbox.services.android.navigation.ui.v5.voice.NavigationSpeechPlayer
Required method to implement in FragmentActivity.onDestroy() or Fragment.onDestroy().
onDestroy() - Method in interface com.mapbox.services.android.navigation.ui.v5.voice.SpeechPlayer
Used to stop and release the media (if needed).
onDestroyView() - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onDetachedFromWindow() - Method in class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
 
onDetachedFromWindow() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
 
onDetachedFromWindow() - Method in class com.mapbox.services.android.navigation.ui.v5.RecenterButton
 
onDetachedFromWindow() - Method in class com.mapbox.services.android.navigation.ui.v5.SoundButton
 
onDismiss(DialogInterface) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onDraw(Canvas) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
 
onFailedReroute(String) - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.RouteListener
Will trigger if the request for a new DirectionsRoute fails.
onFeedbackCancelled() - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.FeedbackListener
Will be triggered when the feedback bottomsheet is opened by a user while navigating but then dismissed without clicking on a specific FeedbackItem in the list.
onFeedbackDismissed() - Method in interface com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheetListener
 
onFeedbackDismissed() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
 
onFeedbackDismissed() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
 
onFeedbackItemClick(ImageView, int) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onFeedbackItemClick(ImageView, int) - Method in interface com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackClickListener.ClickCallback
 
onFeedbackOpened() - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.FeedbackListener
Will be triggered when the feedback bottomsheet is opened by a user while navigating.
onFeedbackSelected(FeedbackItem) - Method in interface com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheetListener
 
onFeedbackSelected(FeedbackItem) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
 
onFeedbackSelected(FeedbackItem) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
 
onFeedbackSent(FeedbackItem) - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.FeedbackListener
Will be triggered when the feedback bottomsheet is opened by a user while navigating and then the user clicks on a specific FeedbackItem in the list.
onFinishInflate() - Method in class com.mapbox.services.android.navigation.ui.v5.alert.AlertView
 
onFinishInflate() - Method in class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
 
onFinishInflate() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Once this view has finished inflating, it will bind the views.
onFinishInflate() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
 
onFinishInflate() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
 
onFinishInflate() - Method in class com.mapbox.services.android.navigation.ui.v5.RecenterButton
Once inflation of the view has finished, create the custom animation.
onFinishInflate() - Method in class com.mapbox.services.android.navigation.ui.v5.SoundButton
 
onFinishInflate() - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
After the layout inflates, binds all necessary views, create a RecyclerView for the list of directions, and a new DecimalFormat for formatting distance remaining.
onInstructionListVisibilityChanged(boolean) - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.InstructionListListener
Triggered when the instruction list is shown or hidden.
onInterceptTouchEvent(RecyclerView, MotionEvent) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackClickListener
 
onLowMemory() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onLowMemory() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Low memory must be reported so the MapView can react appropriately.
onMapReady(MapboxMap) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Fired after the map is ready, this is our cue to finish setting up the rest of the plugins / location engine.
onMeasure(int, int) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
 
onNavigationFinished() - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.NavigationListener
Will be triggered when MapboxNavigation has finished and the service is completely shut down.
onNavigationFinished() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onNavigationReady(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onNavigationReady(boolean) - Method in interface com.mapbox.services.android.navigation.ui.v5.OnNavigationReadyCallback
Fired after the navigation is ready.
OnNavigationReadyCallback - Interface in com.mapbox.services.android.navigation.ui.v5
 
onNavigationRunning() - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.NavigationListener
Will be triggered when MapboxNavigation has been initialized and the user is navigating the given route.
onNavigationRunning() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onNewPrimaryRouteSelected(DirectionsRoute) - Method in interface com.mapbox.services.android.navigation.ui.v5.route.OnRouteSelectionChangeListener
Callback when the user selects a different route.
onOffRoute(Point) - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.RouteListener
Will triggered only if RouteListener.allowRerouteFrom(Point) returns true.
onOffRoute() - Method in class com.mapbox.services.android.navigation.ui.v5.voice.NavigationSpeechPlayer
Optional method to implement in an OffRouteListener.
onOffRoute() - Method in interface com.mapbox.services.android.navigation.ui.v5.voice.SpeechPlayer
Used in off-route scenarios to stop current announcement (if playing) and voice a rerouting cue.
onPause() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onPause() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
onPrepareLoad(Drawable) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionTarget
 
onRequestDisallowInterceptTouchEvent(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackClickListener
 
onRerouteAlong(DirectionsRoute) - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.RouteListener
Will trigger when a new DirectionsRoute has been retrieved post off route.
onRestoreInstanceState(Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onRestoreInstanceState(Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Used to restore the bottomsheet state and re-center button visibility.
onResume() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onResume() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
OnRouteSelectionChangeListener - Interface in com.mapbox.services.android.navigation.ui.v5.route
Listener for determining which current route the user has selected as their primary route for navigation.
onSaveInstanceState(Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onSaveInstanceState(Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Used to store the bottomsheet state and re-center button visibility.
onSnapshotReady(Bitmap) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationSnapshotReadyCallback
 
onStart() - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Call in FragmentActivity.onStart() to properly add the ProgressChangeListener for the camera and prevent any leaks or further updates.
onStart() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Should be used in FragmentActivity.onStart() to ensure proper accounting for the lifecycle.
onStart() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onStart() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
onStart() - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
This method should be added in your Activity.onStart() or Fragment.onStart() to handle adding and removing of listeners, preventing memory leaks.
onStop() - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Call in FragmentActivity.onStop() to properly remove the ProgressChangeListener for the camera and prevent any leaks or further updates.
onStop() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Should be used in FragmentActivity.onStop() to ensure proper accounting for the lifecycle.
onStop() - Method in class com.mapbox.services.android.navigation.ui.v5.MapboxNavigationActivity
 
onStop() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
onStop() - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
This method should be added in your Activity.onStop() or Fragment.onStop() to handle adding and removing of listeners, preventing memory leaks.
onTouchEvent(RecyclerView, MotionEvent) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackClickListener
 
onTrackingModeChanged(int) - Method in interface com.mapbox.services.android.navigation.ui.v5.camera.OnTrackingModeChangedListener
Invoked when NavigationCamera tracking mode changes.
OnTrackingModeChangedListener - Interface in com.mapbox.services.android.navigation.ui.v5.camera
Use this listener to observe changes in the NavigationCamera tracking mode.
OnTrackingModeTransitionListener - Interface in com.mapbox.services.android.navigation.ui.v5.camera
Listener that gets invoked when the navigation camera finishes a transition to a new tracking mode.
onTransitionCancelled(int) - Method in interface com.mapbox.services.android.navigation.ui.v5.camera.OnTrackingModeTransitionListener
Invoked when the transition to a new tracking mode has been cancelled.
onTransitionFinished(int) - Method in interface com.mapbox.services.android.navigation.ui.v5.camera.OnTrackingModeTransitionListener
Invoked when the camera has finished a transition to a new tracking mode.
onViewCreated(View, Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
onViewDetachedFromWindow(InstructionViewHolder) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.list.InstructionListAdapter
 
onWayNameChanged(String) - Method in interface com.mapbox.services.android.navigation.ui.v5.map.OnWayNameChangedListener
Triggered every time a new way name is found along the route.
OnWayNameChangedListener - Interface in com.mapbox.services.android.navigation.ui.v5.map

P

play(SpeechAnnouncement) - Method in class com.mapbox.services.android.navigation.ui.v5.voice.NavigationSpeechPlayer
Plays the given SpeechAnnouncement.
play(SpeechAnnouncement) - Method in interface com.mapbox.services.android.navigation.ui.v5.voice.SpeechPlayer
Will play the given string speechAnnouncement.
prefetchImageCache(LegStep) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.ImageCreator
Will pre-fetch images for a given LegStep.
progressChangeListener(ProgressChangeListener) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
progressChangeListener() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 

R

RecenterButton - Class in com.mapbox.services.android.navigation.ui.v5
Button used to re-activate following user location during navigation.
RecenterButton(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.RecenterButton
 
RecenterButton(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.RecenterButton
 
RecenterButton(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.RecenterButton
 
recordFeedback(String) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
Records a general feedback item with source
removeOnCameraTrackingChangedListener(OnCameraTrackingChangedListener) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Remove a OnCameraTrackingChangedListener from the LocationComponent that is wrapped within this class.
removeOnClickListener(View.OnClickListener) - Method in class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
Removes an onClickListener from the button
removeOnClickListener(View.OnClickListener) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationButton
Removes an onClickListener from the button
removeOnClickListener(View.OnClickListener) - Method in class com.mapbox.services.android.navigation.ui.v5.RecenterButton
Removes an onClickListener from the button
removeOnClickListener(View.OnClickListener) - Method in class com.mapbox.services.android.navigation.ui.v5.SoundButton
Removes an onClickListener from the button
removeOnTrackingModeChangedListener(OnTrackingModeChangedListener) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Removes given tracking mode transition listener for receiving notification of camera mode changes.
removeOnTrackingModeTransitionListener(OnTrackingModeTransitionListener) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Removes given tracking mode transition listener for receiving notification of camera transition updates.
removeOnWayNameChangedListener(OnWayNameChangedListener) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Remove a OnWayNameChangedListener for listening to updates to the way name shown on the map below the location icon.
removeProgressChangeListener(MapboxNavigation) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Should be called if NavigationMapRoute.addProgressChangeListener(MapboxNavigation) was called to prevent leaking.
removeRoute() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Will remove the drawn route displayed on the map.
removeRoute() - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Deprecated.
you can now use a combination of NavigationMapRoute.updateRouteVisibilityTo(boolean) and NavigationMapRoute.updateRouteArrowVisibilityTo(boolean) to hide the route line and arrow.
resetCameraPosition() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
resetCameraPosition() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
resetCameraPositionWith(int) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Resets the map camera / padding to the last known camera position.
resetCameraPositionWith(int) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Resets the map camera / padding to the last known camera position.
resetPadding() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
This method resets the map padding to the default padding that is generated when navigation begins (location icon moved to lower half of the screen) or the custom padding that was last passed via MapPaddingAdjustor.adjustLocationIconWith(int[]).
resizingBehaviorApply(ManeuversStyleKit.ResizingBehavior, RectF, RectF, RectF) - Static method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit
 
restoreFrom(NavigationMapboxMapInstanceState) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Can be used to restore a NavigationMapboxMap after it has been initialized.
resume(Location) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Called during rotation to update route information.
resumeCamera(Location) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Centers the map camera around the provided Location.
resumeCamera(Location) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
resumeCamera(Location) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Used after configuration changes to resume the camera to the last location update from the Navigation SDK.
retrieveAlertView() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Returns the NavigationAlertView that is shown during off-route events with "Report a Problem" text.
retrieveAlertView() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Returns the NavigationAlertView that is shown during off-route events with "Report a Problem" text.
retrieveCamera() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Provides the camera being used to animate the map camera positions along the route, driven by the progress change listener.
retrieveFeedbackButton() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Gets the feedback button which is used for sending feedback, for uses such as adding listeners and hiding the button.
retrieveFeedbackButton() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Returns the feedback button for sending feedback about navigation
retrieveMap() - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Provides the MapboxMap originally given in the constructor.
retrieveMapboxNavigation() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Returns the instance of MapboxNavigation powering the NavigationView once navigation has started.
retrieveNavigation() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
Returns the current instance of MapboxNavigation.
retrieveNavigationMapboxMap() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Gives the ability to manipulate the map directly for anything that might not currently be supported.
retrieveNavigationViewStyle(Context, int) - Static method in class com.mapbox.services.android.navigation.ui.v5.ThemeSwitcher
Looks are current theme and retrieves the style for the given resId set in the theme.
retrieveRecenterButton() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Returns the re-center button for recentering on current location
retrieveSoundButton() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Gets the sound button which is used for muting/unmuting, for uses such as adding listeners and hiding the button.
retrieveSoundButton() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Returns the sound button used for muting instructions
retrieveThemeColor(Context, int) - Static method in class com.mapbox.services.android.navigation.ui.v5.ThemeSwitcher
Looks are current theme and retrieves the color attribute for the given set theme.
retrieveThemeMapMarker(Context) - Static method in class com.mapbox.services.android.navigation.ui.v5.ThemeSwitcher
Returns a map marker Bitmap based on the current theme setting.
retrieveThemeOverviewDrawable(Context) - Static method in class com.mapbox.services.android.navigation.ui.v5.ThemeSwitcher
Returns a route overview Drawable based on the current theme setting.
retrieveWayNameText() - Method in class com.mapbox.services.android.navigation.ui.v5.map.WayNameView
 
RouteListener - Interface in com.mapbox.services.android.navigation.ui.v5.listeners
A listener that can be implemented and added to NavigationViewOptions to hook into route related events occurring in NavigationView.
routeListener(RouteListener) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
routeListener() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 

S

saveStateWith(String, Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Can be used to store the current state of the map in Activity.onSaveInstanceState(Bundle, PersistableBundle).
setDistanceFormatter(DistanceFormatter) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Sets the distance formatter
setDistanceFormatter(DistanceFormatter) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
Sets the distance formatter
setDrivingSide(String) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
 
setDuration(long) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
setFeedbackBottomSheetListener(FeedbackBottomSheetListener) - Method in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
setInstructionListListener(InstructionListListener) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Adds a listener that is triggered when the instruction list in InstructionView is shown or hidden.
setManeuverTypeAndModifier(String, String) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
Updates the maneuver type and modifier which determine how this view will render itself.
setMode(CameraUpdateMode) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCameraUpdate
Updates the CameraUpdateMode that will determine this updates behavior based on the current tracking mode in NavigationCamera.
setMuted(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
 
setMuted(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.voice.NavigationSpeechPlayer
Mutes or un-mutes the SpeechPlayer.
setMuted(boolean) - Method in interface com.mapbox.services.android.navigation.ui.v5.voice.SpeechPlayer
Will determine if voice announcements will be played or not.
setOnRouteSelectionChangeListener(OnRouteSelectionChangeListener) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Set a OnRouteSelectionChangeListener to know which route the user has currently selected as their primary route.
setOnRouteSelectionChangeListener(OnRouteSelectionChangeListener) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Add a OnRouteSelectionChangeListener to know which route the user has currently selected as their primary route.
setPrimaryColor(int) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
Updates maneuver view primary color.
setRoundaboutAngle(float) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
Updates the angle to render the roundabout maneuver.
setSecondaryColor(int) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuverView
Updates maneuver view secondary color.
setSummaryBehaviorHideable(boolean) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
setSummaryBehaviorHideable(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
setSummaryBehaviorState(int) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
setSummaryBehaviorState(int) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
setTimeFormat(int) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
Sets the time format type to use
shouldSimulateRoute(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
 
shouldSimulateRoute() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
shouldSimulateRoute(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
show(String, long, boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.alert.AlertView
Animates the View from top down to its set position.
show() - Method in class com.mapbox.services.android.navigation.ui.v5.FeedbackButton
Shows the button
show() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationButton
Shows the button
show() - Method in class com.mapbox.services.android.navigation.ui.v5.RecenterButton
Sets visibility to VISIBLE and starts custom animation.
show() - Method in class com.mapbox.services.android.navigation.ui.v5.SoundButton
Shows the widget
showAlternativeRoutes(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Toggle whether or not you'd like the map to display the alternative routes.
showAlternativeRoutes(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Toggle whether or not you'd like the map to display the alternative routes.
showFeedbackBottomSheet() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Shows FeedbackBottomSheet and adds a listener so the proper feedback information is collected or the user dismisses the UI.
showFeedbackBottomSheet() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
Shows FeedbackBottomSheet and adds a listener so the proper feedback information is collected or the user dismisses the UI.
showFeedbackSubmitted() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
Shows this alert view for when feedback is submitted
showInstructionList() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Show the instruction list.
showRecenterBtn() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
showRecenterBtn() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
showReportProblem() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
Shows this alert view to let user report a problem for the given number of milliseconds
showRerouteState() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Will slide the reroute view down from the top of the screen and make it visible
showRerouteState() - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
Shows the reroute progress bar and clears current text views.
showRouteOverview(int[]) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
This method stops the map camera from tracking the current location, and then zooms out to an overview of the current route being traveled.
showRouteOverview(int[]) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Adjusts the map camera to DirectionsRoute being traveled along.
shutdown() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.ImageCreator
 
SoundButton - Class in com.mapbox.services.android.navigation.ui.v5
 
SoundButton(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.SoundButton
 
SoundButton(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.SoundButton
 
SoundButton(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.SoundButton
 
SpeechAnnouncement - Class in com.mapbox.services.android.navigation.ui.v5.voice
SpeechAnnouncement() - Constructor for class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement
 
SpeechAnnouncement.Builder - Class in com.mapbox.services.android.navigation.ui.v5.voice
 
SpeechAnnouncementListener - Interface in com.mapbox.services.android.navigation.ui.v5.listeners
This listener will be triggered when a voice announcement is about to be voiced.
speechAnnouncementListener(SpeechAnnouncementListener) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
speechAnnouncementListener() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
speechPlayer(SpeechPlayer) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
speechPlayer() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions
 
SpeechPlayer - Interface in com.mapbox.services.android.navigation.ui.v5.voice
Defines a contract for speech players used in NavigationView.
SpeechPlayerProvider - Class in com.mapbox.services.android.navigation.ui.v5.voice
Given to the constructor of NavigationSpeechPlayer, this class decides which SpeechPlayer should be used based on voice language compatibility.
SpeechPlayerProvider(Context, String, boolean, VoiceInstructionLoader) - Constructor for class com.mapbox.services.android.navigation.ui.v5.voice.SpeechPlayerProvider
Constructed when creating an instance of NavigationSpeechPlayer.
ssmlAnnouncement(String) - Method in class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement.Builder
Announcement text containing SSML Markup Language
ssmlAnnouncement() - Method in class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement
Announcement text containing SSML Markup Language
start(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Called when beginning navigation with a route.
startCamera(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Centers the map camera to the beginning of the provided DirectionsRoute.
startCamera(DirectionsRoute) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
startCamera(DirectionsRoute) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Used when starting this Activity for the first time.
startNavigation(Activity, NavigationLauncherOptions) - Static method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncher
Starts the UI with a DirectionsRoute already retrieved from NavigationRoute
startNavigation(NavigationViewOptions) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Should be called when this view is completely initialized.
stopNavigation() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Call this when the navigation session needs to end navigation without finishing the whole view
subscribe(LifecycleOwner, NavigationViewModel) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Subscribes to a NavigationViewModel for updates from LiveData.
subscribe(NavigationViewModel) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
Sets the NavigationViewModel in the view
subscribe(LifecycleOwner, NavigationViewModel) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
Subscribes to a NavigationViewModel for updates from LiveData.
SummaryBottomSheet - Class in com.mapbox.services.android.navigation.ui.v5.summary
A view with BottomSheetBehavior that displays route summary information during navigation.
SummaryBottomSheet(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
 
SummaryBottomSheet(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
 
SummaryBottomSheet(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
 
summaryModel - Variable in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
 
SummaryModel - Class in com.mapbox.services.android.navigation.ui.v5.summary
 
SummaryModel(Context, DistanceFormatter, RouteProgress, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.summary.SummaryModel
 

T

TAG - Static variable in class com.mapbox.services.android.navigation.ui.v5.feedback.FeedbackBottomSheet
 
takeScreenshot(NavigationSnapshotReadyCallback) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
 
takeScreenshot() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
takeScreenshot() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
ThemeSwitcher - Class in com.mapbox.services.android.navigation.ui.v5
This class is used to switch theme colors in NavigationView.
ThemeSwitcher() - Constructor for class com.mapbox.services.android.navigation.ui.v5.ThemeSwitcher
 
tilt(RouteInformation) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.DynamicCamera
 
toBuilder() - Method in class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement
Convert the current SpeechAnnouncement to its builder holding the currently assigned values.
toggleMute() - Method in class com.mapbox.services.android.navigation.ui.v5.SoundButton
Will toggle the view between muted and unmuted states.
TurnLaneAdapter - Class in com.mapbox.services.android.navigation.ui.v5.instruction.turnlane
 
TurnLaneAdapter() - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneAdapter
 
TurnLaneView - Class in com.mapbox.services.android.navigation.ui.v5.instruction.turnlane
Use this view to render turn lane data.
TurnLaneView(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneView
 
TurnLaneView(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneView
 
TurnLaneView(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneView
 

U

unsubscribe() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Unsubscribes NavigationViewModel LiveData objects previously added in InstructionView.subscribe(LifecycleOwner, NavigationViewModel) by removing the observers of the LifecycleOwner when parent view is destroyed
unsubscribe() - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
Unsubscribes NavigationViewModel LiveData objects previously added in SummaryBottomSheet.subscribe(LifecycleOwner, NavigationViewModel) by removing the observers of the LifecycleOwner when parent view is destroyed
update(NavigationCameraUpdate) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Animate the camera to a new location defined within CameraUpdate passed to the NavigationCameraUpdate using a transition animation that evokes powered flight.
update(NavigationCameraUpdate, int) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Animate the camera to a new location defined within CameraUpdate passed to the NavigationCameraUpdate using a transition animation that evokes powered flight.
update(NavigationCameraUpdate, int, MapboxMap.CancelableCallback) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Animate the camera to a new location defined within CameraUpdate passed to the NavigationCameraUpdate using a transition animation that evokes powered flight.
update(RouteProgress) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
Called in ProgressChangeListener, creates a new model and then uses it to update the views.
updateBannerInstructionsWith(Milestone) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Use this in a MilestoneEventListener to update this view with new banner instructions.
updateBannerListWith(RouteProgress, boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.list.InstructionListAdapter
 
updateCameraRouteOverview() - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
updateCameraRouteOverview() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
updateCameraTrackingMode(int) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.NavigationCamera
Updates the NavigationCamera.TrackingMode that's going to be used when camera tracking is enabled.
updateCameraTrackingMode(int) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Updates the NavigationCamera.TrackingMode that will be used when camera tracking is enabled.
updateDistanceFormatter(DistanceFormatter) - Method in class com.mapbox.services.android.navigation.ui.v5.summary.list.InstructionListAdapter
 
updateDistanceWith(RouteProgress) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
Use this method inside a ProgressChangeListener to update this view with all other information that is not updated by the InstructionView.updateBannerInstructionsWith(Milestone).
updateEnabled(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.NavigationAlertView
This method enables or disables the alert view from being shown during off-route events.
updateFeedback(FeedbackItem) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewModel
Used to update an existing FeedbackItem with a feedback type and description.
updateIncidentsVisibility(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Updates the visibility of incidents layers on the map (if any exist).
updateLaneView(BannerComponents, String) - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.turnlane.TurnLaneView
Updates this view based on the banner component lane data and the given maneuver modifier (to highlight which lane should be chosen).
updateLocation(Location) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Updates the location icon on the map and way name data (if found) for the given Location.
updateLocationFpsThrottleEnabled(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Enabled by default, the navigation map will throttle frames per second of the location icon based on the map zoom level.
updateLocationLayerRenderMode(int) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Updates how the user location is shown on the map.
updateLocationVisibilityTo(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Hide or show the location icon on the map.
updateMapFpsThrottle(int) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
The maximum preferred frames per second at which to render the map.
updateMapFpsThrottleEnabled(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Enabled by default, the navigation map will throttle frames per second when the application has limited resources, such as when the device is running on battery power.
updateNavigationMap(Location) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
updateNavigationMap(Location) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
 
updateRouteArrowVisibilityTo(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Hides the progress arrow on the map drawn by this class.
updateRouteVisibilityTo(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
Hides all routes on the map drawn by this class.
updateTrafficVisibility(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Updates the visibility of traffic layers on the map (if any exist).
updateVisibility(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.map.WayNameView
 
updateWaynameQueryMap(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
Enables or disables the way name chip underneath the location icon.
updateWayNameText(String) - Method in class com.mapbox.services.android.navigation.ui.v5.map.WayNameView
 
updateWayNameView(String) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
updateWayNameView(String) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Updates the text of the way name view below the navigation icon.
updateWayNameVisibility(boolean) - Method in interface com.mapbox.services.android.navigation.ui.v5.NavigationContract.View
 
updateWayNameVisibility(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationView
Updates the visibility of the way name view that is show below the navigation icon.

V

valueOf(String) - Static method in enum com.mapbox.services.android.navigation.ui.v5.camera.CameraUpdateMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit.ResizingBehavior
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mapbox.services.android.navigation.ui.v5.camera.CameraUpdateMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.mapbox.services.android.navigation.ui.v5.instruction.maneuver.ManeuversStyleKit.ResizingBehavior
Returns an array containing the constants of this enum type, in the order they are declared.
ViewUtils - Class in com.mapbox.services.android.navigation.ui.v5.utils
 
ViewUtils() - Constructor for class com.mapbox.services.android.navigation.ui.v5.utils.ViewUtils
 
VoiceInstructionLoader - Class in com.mapbox.services.android.navigation.ui.v5.voice
 
VoiceInstructionLoader(Context, String, Cache) - Constructor for class com.mapbox.services.android.navigation.ui.v5.voice.VoiceInstructionLoader
 
voiceInstructionMilestone(VoiceInstructionMilestone) - Method in class com.mapbox.services.android.navigation.ui.v5.voice.SpeechAnnouncement.Builder
The MilestoneEventListener can provide voice instructions via VoiceInstructionMilestone.

W

waynameChipEnabled(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationLauncherOptions.Builder
 
waynameChipEnabled() - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationUiOptions
 
waynameChipEnabled(boolean) - Method in class com.mapbox.services.android.navigation.ui.v5.NavigationViewOptions.Builder
 
WayNameView - Class in com.mapbox.services.android.navigation.ui.v5.map
 
WayNameView(Context) - Constructor for class com.mapbox.services.android.navigation.ui.v5.map.WayNameView
 
WayNameView(Context, AttributeSet) - Constructor for class com.mapbox.services.android.navigation.ui.v5.map.WayNameView
 
WayNameView(Context, AttributeSet, int) - Constructor for class com.mapbox.services.android.navigation.ui.v5.map.WayNameView
 
willDisplay(BannerInstructions) - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.BannerInstructionsListener
Listener tied to BannerInstructions that are about to be displayed.
willVoice(SpeechAnnouncement) - Method in interface com.mapbox.services.android.navigation.ui.v5.listeners.SpeechAnnouncementListener
Listener tied to voice announcements that are about to be voiced.
writeToParcel(Parcel, int) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMapInstanceState
 

Z

zoom(RouteInformation) - Method in class com.mapbox.services.android.navigation.ui.v5.camera.DynamicCamera
 
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 UI SDK 0.42.6 Reference

© 2019 Mapbox. All rights reserved.