HERE Android SDK Developer's Guide

RouteTta

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

Class Summary

public final class RouteTta

extends java.lang.Object

Describes Time To Arrival details for a given route.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in RouteTta
Nested Classes

public static final enumeration RouteTta.Detail

Additional Time To Arrival Details

Method Summary

Table 2. Methods in RouteTta
Methods

public java.util.EnumSet <Detail> getDetails ()

Details of the blockage (if any).

public int getDuration ()

Gets the duration in seconds.

public boolean isBlocked ()

Whether this time to arrival is blocked.

public boolean isValid ()

Class Details

Describes Time To Arrival details for a given route.

Method Details

public java.util.EnumSet <Detail> getDetails ()

Details of the blockage (if any).

Returns:

The set of all blockage details.

public int getDuration ()

Gets the duration in seconds.

Returns:

The duration in seconds.

public boolean isBlocked ()

Whether this time to arrival is blocked. Note that it is possible to get a valid duration when the route is blocked. See getDetails() for more information.

Returns:

Whether this time to arrival is blocked.

public boolean isValid ()