HERE Android SDK Developer's Guide

ResultCode

The enumeration ResultCode is a member of com.here.android.mpa.odml.MapLoader.

Enumeration Summary

public static final enumeration MapLoader.ResultCode

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

Represents values describing the status of a MapLoader operation.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in ResultCode
Fields

public static final ResultCode OPERATION_SUCCESSFUL

The MapLoader operation completed without error.

public static final ResultCode INVALID_PARAMETERS

The MapLoader operation was called with invalid parameters.

public static final ResultCode NO_CONNECTIVITY

The MapLoader operation could not be performed due to lack of Internet connectivity.

public static final ResultCode NO_UPDATE_TO_PERFORM

The performMapDataUpdate() operation was invoked but there is no update to perform.

public static final ResultCode NOT_ENOUGH_DISK_SPACE

The disk does not have the space required to perform the requested MapLoader operation.

public static final ResultCode OPERATION_CANCELLED

The MapLoader operation was cancelled by a call to cancelCurrentOperation().

public static final ResultCode SERVER_NOT_RESPONDING

The MapLoader operation could not be completed because the map data server is not responding.

public static final ResultCode UNEXPECTED_ERROR

An unexpected error occurred while processing the MapLoader request.

public static final ResultCode FATAL_ERROR

An error which is non-recoverable in the current process instance has occurred.

public static final ResultCode OPERATION_BUSY

The MapLoader operation could not be completed because either the map data server or the MapLoader is busy with an operation in another process.

public static final ResultCode OPERATION_NOT_ALLOWED

Access to this operation is denied.

Method Summary

Table 2. Methods in ResultCode
Methods

public static ResultCode valueOf (String name)

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

public static MapLoader.ResultCode[] values ()

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

Enumeration Details

Represents values describing the status of a MapLoader operation. Each status is returned through the MapLoader.Listener interface.

Enum Constant Details

public static final ResultCode OPERATION_SUCCESSFUL

The MapLoader operation completed without error.

public static final ResultCode INVALID_PARAMETERS

The MapLoader operation was called with invalid parameters.

public static final ResultCode NO_CONNECTIVITY

The MapLoader operation could not be performed due to lack of Internet connectivity.

public static final ResultCode NO_UPDATE_TO_PERFORM

The performMapDataUpdate() operation was invoked but there is no update to perform.

public static final ResultCode NOT_ENOUGH_DISK_SPACE

The disk does not have the space required to perform the requested MapLoader operation.

public static final ResultCode OPERATION_CANCELLED

The MapLoader operation was cancelled by a call to cancelCurrentOperation().

public static final ResultCode SERVER_NOT_RESPONDING

The MapLoader operation could not be completed because the map data server is not responding. The user should verify internet connectivity (e.g. by browsing to a webpage) and try again later.

public static final ResultCode UNEXPECTED_ERROR

An unexpected error occurred while processing the MapLoader request.

public static final ResultCode FATAL_ERROR

An error which is non-recoverable in the current process instance has occurred. To recover it may be necessary to have the user restart the process (swipe, force quit, ...)

public static final ResultCode OPERATION_BUSY

The MapLoader operation could not be completed because either the map data server or the MapLoader is busy with an operation in another process. Please retry the operation.

public static final ResultCode OPERATION_NOT_ALLOWED

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

Method Details

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

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