RoutingSummary

public abstract class RoutingSummary implements Parcelable


The duration and distance from the routing origin to a place in the response, and a second leg from that place to the destination, if requested.

Summary

Public constructors

Public methods

abstract List<Leg>

A leg is a single portion of a journey from one location to another.

static RoutingSummary

Returns a RoutingSummary with the given list of Legs.

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int
abstract void
writeToParcel(Parcel p, int p1)

Public constructors

RoutingSummary

public RoutingSummary()

Public methods

getLegs

public abstract List<LeggetLegs()

A leg is a single portion of a journey from one location to another.

newInstance

public static RoutingSummary newInstance(List<Leg> legs)

Returns a RoutingSummary with the given list of Legs.