HERE Android SDK Developer's Guide

Error

The enumeration Error is a member of com.here.android.mpa.ar.ARController.

Enumeration Summary

public static final enumeration ARController.Error

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

AR Error codes

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Error
Fields

public static final Error NONE

There is no error

public static final Error INVALID_OPERATION

Operation not allowed at the time of the call.

public static final Error INVALID_PARAMETERS

Parameters passed to API are not valid.

public static final Error OPERATION_NOT_ALLOWED

Access to this operation is denied.

public static final Error CAMERA_UNAVAILABLE

Camera cannot be opened

public static final Error SENSORS_UNAVAILABLE

Sensors unavailable

public static final Error STOPPED

Livesight stopped

Method Summary

Table 2. Methods in Error
Methods

public static Error valueOf (String name)

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

public static ARController.Error[] values ()

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

Enumeration Details

AR Error codes

Enum Constant Details

public static final Error NONE

There is no error

public static final Error INVALID_OPERATION

Operation not allowed at the time of the call. For example, calling start() a second time before calling stop

public static final Error INVALID_PARAMETERS

Parameters passed to API are not valid.

public static final Error OPERATION_NOT_ALLOWED

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

public static final Error CAMERA_UNAVAILABLE

Camera cannot be opened

public static final Error SENSORS_UNAVAILABLE

Sensors unavailable

public static final Error STOPPED

Livesight stopped

Method Details

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

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