HERE Android SDK Developer's Guide

AllowedDirection

The enumeration AllowedDirection is a member of com.here.android.mpa.electronic_horizon.LinkInformation.

Enumeration Summary

public static final enumeration LinkInformation.AllowedDirection

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

Determines the allowed direction for the Link.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in AllowedDirection
Fields

public static final AllowedDirection FORWARD

Forward

public static final AllowedDirection BACKWARD

Backward

public static final AllowedDirection BOTH

Both

public static final AllowedDirection NONE

None

Method Summary

Table 2. Methods in AllowedDirection
Methods

public static AllowedDirection valueOf (String name)

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

public static LinkInformation.AllowedDirection[] values ()

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

Enumeration Details

Determines the allowed direction for the Link.

Enum Constant Details

public static final AllowedDirection FORWARD

Forward

public static final AllowedDirection BACKWARD

Backward

public static final AllowedDirection BOTH

Both

public static final AllowedDirection NONE

None

Method Details

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

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