Represents a route request.
Public Member Functions | |
VMERouteRequest () | |
Instantiates a route request. More... | |
VMERouteRequest (VMERouteRequestType requestType, VMERouteDestinationsOrder destinationsOrder) | |
Instantiates a route request. More... | |
VMERouteRequest (VMERouteRequestType requestType, VMERouteDestinationsOrder destinationsOrder, boolean isAccessible) | |
Instantiates a route request. More... | |
VMERouteRequest (VMERouteRequest VMERouteRequest) | |
A copy construction. More... | |
Object | getOrigin () |
The place id or location representing the origin of the route. More... | |
void | setOrigin (String placeID) |
The place id representing the origin of the route. More... | |
void | setOrigin (VMEPosition position) |
The position representing the origin of the route. More... | |
List< Object > | getDestinations () |
Ordered array of String objects, where each object must correspond to a place Id. More... | |
void | addDestination (String placeID) |
Adds a destination to the request. More... | |
void | addDestination (VMEPosition position) |
Adds a position object to the end of the destinations array’s content. More... | |
void | addDestinations (Collection< Object > destinations) |
Adds the objects contained in the given array to the end of the destinations array’s content. More... | |
void | removeAllDestinations () |
Remove all destinations objects from the destination array. More... | |
void | replaceDestination (int index, Object destination) |
Replaces the destination object at the given index with the given destination. More... | |
void | removeDestinationAtIndex (int index) |
Remove destination object at the given index. More... | |
boolean | isAccessible () |
Requests that the computed route is accessible. More... | |
void | setAccessible (boolean accessible) |
Requests that the computed route is accessible. More... | |
void | setRouteDestinationOrder (VMERouteDestinationsOrder destinationsOrder) |
Sets the route destination order. More... | |
VMERouteDestinationsOrder | getRouteDestinationOrder () |
Requests the route destination order. More... | |
VMERouteRequestType | getRequestType () |
void | setRequestType (VMERouteRequestType requestType) |
Sets the route request type. More... | |