HERE Android SDK Developer's Guide

IndoorPositioningModeSetResult

The enumeration IndoorPositioningModeSetResult is a member of com.here.android.mpa.common.LocationDataSourceHERE.

Enumeration Summary

public static final enumeration LocationDataSourceHERE.IndoorPositioningModeSetResult

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

Defines result codes for indoor positioning mode set call.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in IndoorPositioningModeSetResult
Fields

public static final IndoorPositioningModeSetResult OK

Mode set succeeded

public static final IndoorPositioningModeSetResult PENDING

Mode set accepted but could not completed because service connection is being established.

public static final IndoorPositioningModeSetResult INTERNAL_ERROR

Location source not set.

public static final IndoorPositioningModeSetResult FEATURE_NOT_LICENSED

Requested feature not licensed.

public static final IndoorPositioningModeSetResult MODE_NOT_ALLOWED

Requested mode is not allowed for this device.

Method Summary

Table 2. Methods in IndoorPositioningModeSetResult
Methods

public static IndoorPositioningModeSetResult valueOf (String name)

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

public static LocationDataSourceHERE.IndoorPositioningModeSetResult[] values ()

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

Enumeration Details

Defines result codes for indoor positioning mode set call.

Enum Constant Details

public static final IndoorPositioningModeSetResult OK

Mode set succeeded

public static final IndoorPositioningModeSetResult PENDING

Mode set accepted but could not completed because service connection is being established. Requested mode will be set when service connection is ready.

public static final IndoorPositioningModeSetResult INTERNAL_ERROR

Location source not set.

public static final IndoorPositioningModeSetResult FEATURE_NOT_LICENSED

Requested feature not licensed.

public static final IndoorPositioningModeSetResult MODE_NOT_ALLOWED

Requested mode is not allowed for this device. This error is returned if draft radio maps are tried to be accessed and the device is not listed in the set of allowed devices for draft radio map access in AndroidManifest.xml file. Check HERE Android SDK documentation for details about draft radio map feature usage.

Method Details

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

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