HERE Android SDK Developer's Guide

ErrorCode

The enumeration ErrorCode is a member of com.here.android.mpa.mapping.customization.CustomizableScheme.

Enumeration Summary

public static final enumeration CustomizableScheme.ErrorCode

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

Error code specific to configuration scheme or variable

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in ErrorCode
Fields

public static final ErrorCode ERROR_NONE

No Error

public static final ErrorCode ERROR_UNKNOWN

Generic error.

public static final ErrorCode ERROR_OUT_OF_MEMORY

Out of memory.

public static final ErrorCode ERROR_INVALID_PARAMETERS

Invalid parameters received.

public static final ErrorCode ERROR_INVALID_OPERATION

Operation is not allowed at the time of the call.

Method Summary

Table 2. Methods in ErrorCode
Methods

public static ErrorCode getCode (int value)

public int getValue ()

public static ErrorCode valueOf (String name)

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

public static CustomizableScheme.ErrorCode[] values ()

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

Enumeration Details

Error code specific to configuration scheme or variable

Enum Constant Details

public static final ErrorCode ERROR_NONE

No Error

public static final ErrorCode ERROR_UNKNOWN

Generic error.

public static final ErrorCode ERROR_OUT_OF_MEMORY

Out of memory.

public static final ErrorCode ERROR_INVALID_PARAMETERS

Invalid parameters received.

public static final ErrorCode ERROR_INVALID_OPERATION

Operation is not allowed at the time of the call.

Method Details

public static ErrorCode getCode (int value)

Parameters:

  • value

public int getValue ()

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

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