public interface

DirectionsResponse

com.steerpath.sdk.directions.DirectionsResponse

Class Overview

A response describing the solutions found, i.e. routes from a starting point to a given number of destinations.

Summary

Public Methods
abstract List<Route> getRoutes()
The different routes to different destinations.
abstract Location getSource()
Retrive the Location object for the source location.

Public Methods

public abstract List<Route> getRoutes ()

The different routes to different destinations.

Returns
  • a list of routes, each describing a route to a different destination.

public abstract Location getSource ()

Retrive the Location object for the source location. This is the same instance as was provided to the DirectionsRequest, meaning that if some data was set in the extras read, e.g. with

Returns
  • the starting point for the routes in this directions response.