HERE Android SDK Developer's Guide

Direction

The enumeration Direction is a member of com.here.android.mpa.electronic_horizon.Link.

Enumeration Summary

public static final enumeration Link.Direction

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

Defines the direction of movement.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Direction
Fields

public static final Direction FORWARD

Forward

public static final Direction BACKWARD

Backward

Method Summary

Table 2. Methods in Direction
Methods

public static Direction valueOf (String name)

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

public static Link.Direction[] values ()

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

Enumeration Details

Defines the direction of movement.

Enum Constant Details

public static final Direction FORWARD

Forward

public static final Direction BACKWARD

Backward

Method Details

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

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