HERE Android SDK Developer's Guide

ResultCode

The enumeration ResultCode is a member of com.here.android.mpa.streetlevel.StreetLevelCoverage.

Enumeration Summary

public static final enumeration StreetLevelCoverage.ResultCode

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

Represents values describing possible result types of the coverage check operation

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in ResultCode
Fields

public static final ResultCode UNKNOWN_COVERAGE

The coverage for the selected area is unknown.

public static final ResultCode HAS_COVERAGE

The selected area is within the street level coverage zone.

public static final ResultCode HAS_NO_COVERAGE

The selected area is not within the street level coverage zone.

public static final ResultCode NETWORK_ERROR

Request could not be completed because of a network error.

public static final ResultCode CANCELLED

Request was cancelled.

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 StreetLevelCoverage.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 possible result types of the coverage check operation

Enum Constant Details

public static final ResultCode UNKNOWN_COVERAGE

The coverage for the selected area is unknown.

public static final ResultCode HAS_COVERAGE

The selected area is within the street level coverage zone.

public static final ResultCode HAS_NO_COVERAGE

The selected area is not within the street level coverage zone.

public static final ResultCode NETWORK_ERROR

Request could not be completed because of a network error.

public static final ResultCode CANCELLED

Request was cancelled.

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 StreetLevelCoverage.ResultCode[] values ()

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