HERE Android SDK Developer's Guide

Action

The enumeration Action is a member of com.here.android.mpa.routing.Maneuver.

Enumeration Summary

public static final enumeration Maneuver.Action

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

Represents values describing the possible actions of a Maneuver.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Action
Fields

public static final Action UNDEFINED

An undefined action (the default), avoided for real maneuvers.

public static final Action NO_ACTION

An indication that there is no action associated with the maneuver.

public static final Action END

An action that indicates the end of a route.

public static final Action STOPOVER

An action that indicates a stopover.

public static final Action JUNCTION

An action that indicates a junction.

public static final Action ROUNDABOUT

An action that indicates a roundabout.

public static final Action UTURN

An action that indicates a u-turn.

public static final Action ENTER_HIGHWAY_FROM_RIGHT

An action that indicates entering a highway from the right.

public static final Action ENTER_HIGHWAY_FROM_LEFT

An action that indicates entering a highway from the left.

public static final Action ENTER_HIGHWAY

An action that indicates entering a highway.

public static final Action LEAVE_HIGHWAY

An action that indicates leaving a highway.

public static final Action CHANGE_HIGHWAY

An action that indicates changing from one highway to another.

public static final Action CONTINUE_HIGHWAY

An action that indicates continuing along a highway.

public static final Action FERRY

An action that indicates boarding a ferry.

public static final Action PASS_JUNCTION

An action that indicates passing a junction.

public static final Action INVALID

An invalid action.

Method Summary

Table 2. Methods in Action
Methods

public static Action valueOf (String name)

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

public static Maneuver.Action[] values ()

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

Enumeration Details

Represents values describing the possible actions of a Maneuver.

Enum Constant Details

public static final Action UNDEFINED

An undefined action (the default), avoided for real maneuvers.

public static final Action NO_ACTION

An indication that there is no action associated with the maneuver.

public static final Action END

An action that indicates the end of a route.

public static final Action STOPOVER

An action that indicates a stopover.

public static final Action JUNCTION

An action that indicates a junction.

public static final Action ROUNDABOUT

An action that indicates a roundabout.

public static final Action UTURN

An action that indicates a u-turn.

public static final Action ENTER_HIGHWAY_FROM_RIGHT

An action that indicates entering a highway from the right.

public static final Action ENTER_HIGHWAY_FROM_LEFT

An action that indicates entering a highway from the left.

public static final Action ENTER_HIGHWAY

An action that indicates entering a highway.

public static final Action LEAVE_HIGHWAY

An action that indicates leaving a highway.

public static final Action CHANGE_HIGHWAY

An action that indicates changing from one highway to another.

public static final Action CONTINUE_HIGHWAY

An action that indicates continuing along a highway.

public static final Action FERRY

An action that indicates boarding a ferry.

public static final Action PASS_JUNCTION

An action that indicates passing a junction.

public static final Action INVALID

An invalid action.

Method Details

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

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