HERE Android SDK Developer's Guide

RouteResult

The class RouteResult is a member of com.here.android.mpa.routing .

Class Summary

public final class RouteResult

extends java.lang.Object

This is the definition of the RouteResult class.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in RouteResult
Nested Classes

public static final enumeration RouteResult.ViolatedOption

These are options which may be ignored by the routing engine; in such cases a list of violated options is returned in the listener's on_end() method.

Method Summary

Table 2. Methods in RouteResult
Methods

public Route getRoute ()

Returns the Route in the RouteResult.

public java.util.EnumSet <ViolatedOption> getViolatedOptions ()

Gets the violated options.

Class Details

This is the definition of the RouteResult class. It contains a Route as a result of route calculation and a list of possible RouteResult.ViolatedOption

Method Details

public Route getRoute ()

Returns the Route in the RouteResult.

Returns:

The Route

public java.util.EnumSet <ViolatedOption> getViolatedOptions ()

Gets the violated options.

Returns:

Set of RouteResult.ViolatedOption