Class DirectionsRequest.Builder
java.lang.Object
com.arubanetworks.meridian.requests.MeridianRequest.LocationsAPIBuilder
com.arubanetworks.meridian.requests.DirectionsRequest.Builder
- Enclosing class:
- DirectionsRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected final EditorKey
protected Uri.Builder
setDestination
(DirectionsDestination destination) Directions to specified destinationsetDestinations
(List<DirectionsDestination> destinations) Directions to closest specified destinationsetErrorListener
(MeridianRequest.ErrorListener errorListener) setSource
(DirectionsSource source) Set the starting point of the directionssetTransportType
(TransportType transportType) Set if the directions should be handicap accessible
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setAppKey
-
setSource
Set the starting point of the directions- Parameters:
source
- location to start directions from
-
setDestination
Directions to specified destination- Parameters:
destination
- destination to route to
-
setDestinations
Directions to closest specified destination- Parameters:
destinations
- List of destinations, the closest to the source will be used
-
setTransportType
Set if the directions should be handicap accessible- Parameters:
transportType
- specify if the directions need to be handicap accessible
-
setListener
-
setErrorListener
-
getUriBuilder
- Overrides:
getUriBuilder
in classMeridianRequest.LocationsAPIBuilder
-
build
-
getAppKey
-