HERE Android SDK Developer's Guide

NavigationMode

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

Enumeration Summary

public static final enumeration NavigationManager.NavigationMode

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

Possible Navigation Modes

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in NavigationMode
Fields

public static final NavigationMode NONE

Navigation is inactive.

public static final NavigationMode SIMULATION

Navigation is running in simulation mode (following a calculated route without using real GPS data)

public static final NavigationMode NAVIGATION

Navigation is running in navigation mode (following a route using GPS data, recalculation will occur if position deviates from route)

public static final NavigationMode TRACKING

Navigation is running in tracking mode (Not following a route, real GPS data drives map movement)

Method Summary

Table 2. Methods in NavigationMode
Methods

public static NavigationMode valueOf (String name)

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

public static NavigationManager.NavigationMode[] values ()

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

Enumeration Details

Possible Navigation Modes

Enum Constant Details

public static final NavigationMode NONE

Navigation is inactive.

public static final NavigationMode SIMULATION

Navigation is running in simulation mode (following a calculated route without using real GPS data)

public static final NavigationMode NAVIGATION

Navigation is running in navigation mode (following a route using GPS data, recalculation will occur if position deviates from route)

public static final NavigationMode TRACKING

Navigation is running in tracking mode (Not following a route, real GPS data drives map movement)

Method Details

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

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