- 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
-
- 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
-
- 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 DirectionsRoute
s, 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- OnTrackingModeChangedListener - Interface in com.mapbox.services.android.navigation.ui.v5.camera
-
- 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
-
- 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
-
- removeProgressChangeListener(MapboxNavigation) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
-
- 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
-
- 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
-
- 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
-
- 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
-
- saveStateWith(String, Bundle) - Method in class com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap
-
- 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
-
- 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
-
- 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
-
- setOnRouteSelectionChangeListener(OnRouteSelectionChangeListener) - Method in class com.mapbox.services.android.navigation.ui.v5.route.NavigationMapRoute
-
- 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
-
- SpeechPlayerProvider - Class in com.mapbox.services.android.navigation.ui.v5.voice
-
- SpeechPlayerProvider(Context, String, boolean, VoiceInstructionLoader) - Constructor for class com.mapbox.services.android.navigation.ui.v5.voice.SpeechPlayerProvider
-
- 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
-
- 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
-
- SummaryBottomSheet - Class in com.mapbox.services.android.navigation.ui.v5.summary
-
- 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
-
- unsubscribe() - Method in class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
-
- unsubscribe() - Method in class com.mapbox.services.android.navigation.ui.v5.summary.SummaryBottomSheet
-
- 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
-
- 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
-
- 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.