public abstract static class NavigationLauncherOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
public abstract NavigationLauncherOptions.Builder directionsRoute(com.mapbox.api.directions.v5.models.DirectionsRoute directionsRoute)
public abstract NavigationLauncherOptions.Builder lightThemeResId(Integer lightThemeResId)
public abstract NavigationLauncherOptions.Builder darkThemeResId(Integer darkThemeResId)
public abstract NavigationLauncherOptions.Builder shouldSimulateRoute(boolean shouldSimulateRoute)
public abstract NavigationLauncherOptions.Builder waynameChipEnabled(boolean waynameChipEnabled)
public abstract NavigationLauncherOptions.Builder initialMapCameraPosition(@Nullable com.mapbox.mapboxsdk.camera.CameraPosition initialMapCameraPosition)
public abstract NavigationLauncherOptions.Builder offlineRoutingTilesPath(String offlinePath)
When added, the NavigationView
will try to initialize and use this data
for offline routing when no or poor internet connection is found.
offlinePath
- to offline data on devicepublic abstract NavigationLauncherOptions.Builder offlineRoutingTilesVersion(String offlineVersion)
This version should directly correspond to the data in the offline path also provided.
offlineVersion
- of data in tile pathpublic abstract NavigationLauncherOptions.Builder offlineMapOptions(MapOfflineOptions mapOfflineOptions)
mapOfflineOptions
- for offline configurationpublic abstract NavigationLauncherOptions build()
© 2019 Mapbox. All rights reserved.