HERE Android SDK Developer's Guide

ErrorCode

The enumeration ErrorCode is a member of com.here.android.mpa.mapping.MapBuildingLayer.BuildingSearchResult.

Enumeration Summary

public static final enumeration MapBuildingLayer.BuildingSearchResult.ErrorCode

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

Error codes for building search result

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in ErrorCode
Fields

public static final ErrorCode NONE

No error.

public static final ErrorCode NEEDS_DATA

Map Data is not available at the requested area.

public static final ErrorCode AREA_TOO_LARGE

Search area is too large.

public static final ErrorCode UNKNOWN

Unknown error.

Method Summary

Table 2. Methods in ErrorCode
Methods

public static ErrorCode valueOf (String name)

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

public static MapBuildingLayer.BuildingSearchResult.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 codes for building search result

Enum Constant Details

public static final ErrorCode NONE

No error.

public static final ErrorCode NEEDS_DATA

Map Data is not available at the requested area. Requires download.

public static final ErrorCode AREA_TOO_LARGE

Search area is too large. Search with a smaller boundingbox.

public static final ErrorCode UNKNOWN

Unknown error.

Method Details

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 MapBuildingLayer.BuildingSearchResult.ErrorCode[] values ()

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