HERE Android SDK Developer's Guide

Orientation

The enumeration Orientation is a member of com.here.android.mpa.guidance.NavigationManager.RoadView.

Enumeration Summary

public static final enumeration NavigationManager.RoadView.Orientation

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

Used for setting the orientation when ROADVIEW or ROADVIEW_NOZOOM is used.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Orientation
Fields

public static final Orientation DYNAMIC

Heading is at the top of the screen.

public static final Orientation NORTH_UP

North is at the top of the screen.

Method Summary

Table 2. Methods in Orientation
Methods

public int value ()

public static Orientation valueOf (String name)

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

public static NavigationManager.RoadView.Orientation[] values ()

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

Enumeration Details

Used for setting the orientation when ROADVIEW or ROADVIEW_NOZOOM is used.

Enum Constant Details

public static final Orientation DYNAMIC

Heading is at the top of the screen.

public static final Orientation NORTH_UP

North is at the top of the screen.

Method Details

public int value ()

public static Orientation 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 NavigationManager.RoadView.Orientation[] values ()

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