HERE Android SDK Developer's Guide

UMRoute

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

Class Summary

public final class UMRoute

extends com.here.android.mpa.routing.Route, java.lang.Object

Route extension with Urban Mobility specifics like ticketing information or real-time data.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in UMRoute
Methods

public Arrival getArrival ()

Get information about this route's arrival.

public int getChangesCount ()

Get number of public transport changes (transfers) to make along this route.

public Departure getDeparture ()

Get information about this route's departure.

public long getDuration ()

Get the expected duration of this route in seconds.

public String getId ()

Get route ID which is unique within same UMCalculateResult.

public java.util.List <Maneuver> getManeuvers ()

Returns an empty list in an Urban Mobility route calculation.

public java.util.List <RouteSection> getSections ()

Get List of RouteSection objects which represent parts of this route with different means of transit.

public java.util.List <Tariff> getTariffs ()

Get List of Tariff objects each of which represent a different collection/alternative of Fares to cover this route.

Class Details

Route extension with Urban Mobility specifics like ticketing information or real-time data. Represents a single route/connection within UMRouteResult.

IMPORTANT: Urban Mobility routing is a Beta feature. The related classes are subject to change without notice.

Method Details

public Arrival getArrival ()

Get information about this route's arrival. See Arrival for details.

Returns:

information about arrival

public int getChangesCount ()

Get number of public transport changes (transfers) to make along this route.

Returns:

number of changes, or -1 if not available

public Departure getDeparture ()

Get information about this route's departure. See Departure for details.

Returns:

information about departure

public long getDuration ()

Get the expected duration of this route in seconds.

Returns:

duration in seconds, or -1 if not available

public String getId ()

Get route ID which is unique within same UMCalculateResult.

Returns:

route ID, or null if not available

public java.util.List <Maneuver> getManeuvers ()

Returns an empty list in an Urban Mobility route calculation. Use getManeuvers() instead.

public java.util.List <RouteSection> getSections ()

Get List of RouteSection objects which represent parts of this route with different means of transit.

Returns:

list of route sections

public java.util.List <Tariff> getTariffs ()

Get List of Tariff objects each of which represent a different collection/alternative of Fares to cover this route.

Returns:

list of alternative tariffs

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.