Class NavigationOptions.Builder
-
- All Implemented Interfaces:
public final class NavigationOptions.BuilderBuild a new NavigationOptions
-
-
Constructor Summary
Constructors Constructor Description NavigationOptions.Builder(Context applicationContext)
-
Method Summary
Modifier and Type Method Description final NavigationOptions.BuilderlocationEngine(LocationEngine locationEngine)Override the mechanism responsible for providing location approximations to navigation final NavigationOptions.BuilderlocationEngineRequest(LocationEngineRequest locationEngineRequest)Override the rate to request locations from the location engine. final NavigationOptions.BuilderdeviceProfile(DeviceProfile deviceProfile)Defines the type of device creating localization data final NavigationOptions.BuildertimeFormatType(Integer type)Defines time format for calculation remaining trip time final NavigationOptions.BuildernavigatorPredictionMillis(Long predictionMillis)Defines approximate navigator prediction in milliseconds final NavigationOptions.BuilderdistanceFormatter(DistanceFormatter distanceFormatter)Defines format distances showing in notification during navigation final NavigationOptions.BuilderisFromNavigationUi(Boolean flag)Defines if the builder instance is created from the Navigation UI final NavigationOptions.BuilderisDebugLoggingEnabled(Boolean flag)Defines if debug logging is enabled final NavigationOptions.BuildereHorizonOptions(EHorizonOptions eHorizonOptions)Defines configuration for the Electronic Horizon final NavigationOptions.BuilderrouteRefreshOptions(RouteRefreshOptions value)final NavigationOptions.BuilderoffRouteThreshold(Double value)final NavigationOptions.BuilderarrivalThreshold(Double value)final NavigationOptions.BuilderlookaheadThreshold(Double value)final NavigationOptions.BuildermaxLookaheadDistance(Double value)final NavigationOptions.BuildermaxBearingDelta(Double value)final NavigationOptions.BuilderdownloadOnboardMapData(Boolean value)final NavigationOptions.BuilderdownloadOnboardMapDataOnCellular(Boolean value)final NavigationOptions.BuilderwifiBlacklist(String value)final NavigationOptionsbuild()Build a new instance of NavigationOptions
-
-
-
Constructor Detail
-
NavigationOptions.Builder
NavigationOptions.Builder(Context applicationContext)
-
-
Method Detail
-
locationEngine
final NavigationOptions.Builder locationEngine(LocationEngine locationEngine)
Override the mechanism responsible for providing location approximations to navigation
-
locationEngineRequest
final NavigationOptions.Builder locationEngineRequest(LocationEngineRequest locationEngineRequest)
Override the rate to request locations from the location engine.
-
deviceProfile
final NavigationOptions.Builder deviceProfile(DeviceProfile deviceProfile)
Defines the type of device creating localization data
-
timeFormatType
final NavigationOptions.Builder timeFormatType(Integer type)
Defines time format for calculation remaining trip time
-
navigatorPredictionMillis
final NavigationOptions.Builder navigatorPredictionMillis(Long predictionMillis)
Defines approximate navigator prediction in milliseconds
-
distanceFormatter
final NavigationOptions.Builder distanceFormatter(DistanceFormatter distanceFormatter)
Defines format distances showing in notification during navigation
-
isFromNavigationUi
final NavigationOptions.Builder isFromNavigationUi(Boolean flag)
Defines if the builder instance is created from the Navigation UI
-
isDebugLoggingEnabled
final NavigationOptions.Builder isDebugLoggingEnabled(Boolean flag)
Defines if debug logging is enabled
-
eHorizonOptions
final NavigationOptions.Builder eHorizonOptions(EHorizonOptions eHorizonOptions)
Defines configuration for the Electronic Horizon
-
routeRefreshOptions
final NavigationOptions.Builder routeRefreshOptions(RouteRefreshOptions value)
-
offRouteThreshold
final NavigationOptions.Builder offRouteThreshold(Double value)
-
arrivalThreshold
final NavigationOptions.Builder arrivalThreshold(Double value)
-
lookaheadThreshold
final NavigationOptions.Builder lookaheadThreshold(Double value)
-
maxLookaheadDistance
final NavigationOptions.Builder maxLookaheadDistance(Double value)
-
maxBearingDelta
final NavigationOptions.Builder maxBearingDelta(Double value)
-
downloadOnboardMapData
final NavigationOptions.Builder downloadOnboardMapData(Boolean value)
-
downloadOnboardMapDataOnCellular
final NavigationOptions.Builder downloadOnboardMapDataOnCellular(Boolean value)
-
wifiBlacklist
final NavigationOptions.Builder wifiBlacklist(String value)
-
build
final NavigationOptions build()
Build a new instance of NavigationOptions
-
-