HERE Android SDK Developer's Guide

Error

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

Enumeration Summary

public static final enumeration NavigationManager.Error

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

Navigation Manager Error

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Error
Fields

public static final Error NONE

There is no error

public static final Error GUIDANCE_NOT_READY

Guidance is not ready for use

public static final Error POSITIONING_FAILED

Positioning Manager failed to start for navigation use.

public static final Error NOT_READY

Guidance polling must be continued.

public static final Error OUT_OF_MEMORY

Out of memory

public static final Error INVALID_PARAMETERS

Invalid parameters

public static final Error INVALID_OPERATION

Operation not allowed at the time of the call

public static final Error NOT_FOUND

When something was not found (e.g.

public static final Error ABORTED

Operation aborted.

public static final Error OPERATION_NOT_ALLOWED

Access to this operation is denied.

public static final Error INVALID_CREDENTIALS

HERE Developer credentials are invalid or were not provided

public static final Error UNKNOWN

Generic error

Method Summary

Table 2. Methods in Error
Methods

public static Error valueOf (String name)

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

public static NavigationManager.Error[] values ()

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

Enumeration Details

Navigation Manager Error

Enum Constant Details

public static final Error NONE

There is no error

public static final Error GUIDANCE_NOT_READY

Guidance is not ready for use

public static final Error POSITIONING_FAILED

Positioning Manager failed to start for navigation use. This could be becasue the application has not been granted the ACCESS_FINE_LOCATION android permission at the time of the call to NavigationManager .

public static final Error NOT_READY

Guidance polling must be continued.

public static final Error OUT_OF_MEMORY

Out of memory

public static final Error INVALID_PARAMETERS

Invalid parameters

public static final Error INVALID_OPERATION

Operation not allowed at the time of the call

public static final Error NOT_FOUND

When something was not found (e.g. voice skins)

public static final Error ABORTED

Operation aborted.

public static final Error OPERATION_NOT_ALLOWED

Access to this operation is denied. Contact your HERE representative for more information.

public static final Error INVALID_CREDENTIALS

HERE Developer credentials are invalid or were not provided

public static final Error UNKNOWN

Generic error

Method Details

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

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