public class RequestRouteResults extends Object
RouteManager.requestRoutes(com.inrix.sdk.RouteManager.RequestRouteOptions, com.inrix.sdk.RouteManager.IRouteResponseListener)
.
See BaseRoutesResponse.getRoutes()
for the return order of the requested route information.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<RequestRouteResults> |
CREATOR
Parcelable Creator.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
List<Route> |
getRoutes()
Get the returned routes.
|
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<RequestRouteResults> CREATOR
public List<Route> getRoutes()
Route
being the first item in the list, which is dependent on the type of request made.
For RouteManager.requestRoutes(com.inrix.sdk.RouteManager.RequestRouteOptions, com.inrix.sdk.RouteManager.IRouteResponseListener)
, the fastest route has the highest
priority.
For RouteManager.getUpdatedRouteInfo(com.inrix.sdk.RouteManager.UpdatedRouteOptions, com.inrix.sdk.RouteManager.IUpdatedRouteListener)
, the original route has the
highest priority, followed the fastest better Route
if requested and available.public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.