RoutingParameters.Builder

public abstract class RoutingParameters.Builder


Builder for RoutingParameters.

Summary

Public constructors

Public constructors

Builder

public Builder()

Public methods

build

public abstract RoutingParameters build()

getOrigin

public abstract @Nullable LatLng getOrigin()

getRouteModifiers

public abstract @Nullable RouteModifiers getRouteModifiers()

getRoutingPreference

public abstract @Nullable RoutingParameters.RoutingPreference getRoutingPreference()

getTravelMode

public abstract @Nullable RoutingParameters.TravelMode getTravelMode()

setOrigin

public abstract RoutingParameters.Builder setOrigin(@Nullable LatLng origin)

setRouteModifiers

public abstract RoutingParameters.Builder setRouteModifiers(@Nullable RouteModifiers routeModifiers)

setRoutingPreference

public abstract RoutingParameters.Builder setRoutingPreference(
    @Nullable RoutingParameters.RoutingPreference routingPreference
)

setTravelMode

public abstract RoutingParameters.Builder setTravelMode(@Nullable RoutingParameters.TravelMode travelMode)