HERE Android SDK Developer's Guide

TimeType

The enumeration TimeType is a member of com.here.android.mpa.routing.RouteOptions.

Enumeration Summary

public static final enumeration RouteOptions.TimeType

extends java.lang.Enum, java.lang.Object

Ways that the time can be specified.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in TimeType
Fields

public static final TimeType DEPARTURE

Departure time.

public static final TimeType ARRIVAL

Arrival time.

Method Summary

Table 2. Methods in TimeType
Methods

public static TimeType valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static RouteOptions.TimeType[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Ways that the time can be specified.

Enum Constant Details

public static final TimeType DEPARTURE

Departure time.

public static final TimeType ARRIVAL

Arrival time. NOTE: ARRIVAL time type option is currently unsupported. Using this value in RouteOptions.setTime(Date, TimeType) will result in an IllegalArgumentException to be thrown.

Method Details

public static TimeType valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static RouteOptions.TimeType[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.