HERE Android SDK Developer's Guide

WaypointDirection

The enumeration WaypointDirection is a member of com.here.android.mpa.routing.RouteWaypoint.

Enumeration Summary

public static final enumeration RouteWaypoint.WaypointDirection

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

Represents different waypoint direction.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in WaypointDirection
Fields

public static final WaypointDirection ANY

Do not enforce direction, pick any.

public static final WaypointDirection POSITIVE

Enforce positive direction.

public static final WaypointDirection NEGATIVE

Enforce negative direction.

Method Summary

Table 2. Methods in WaypointDirection
Methods

public static WaypointDirection valueOf (String name)

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

public static RouteWaypoint.WaypointDirection[] values ()

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

Enumeration Details

Represents different waypoint direction.

Enum Constant Details

public static final WaypointDirection ANY

Do not enforce direction, pick any.

public static final WaypointDirection POSITIVE

Enforce positive direction.

public static final WaypointDirection NEGATIVE

Enforce negative direction.

Method Details

public static WaypointDirection 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 RouteWaypoint.WaypointDirection[] values ()

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