HERE Android SDK Developer's Guide

IconType

The enumeration IconType is a member of com.here.android.mpa.ar.ARObject.

Enumeration Summary

public static final enumeration ARObject.IconType

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

Icon types used by ARObject

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in IconType
Fields

public static final IconType DOWN

Icon representing ARObject in DOWN scene when device is tilted down.

public static final IconType FRONT

Icon representing ARObject in UP scene when device is tilted up and the item appears in foreground.

public static final IconType BACK

Icon representing ARObject in UP scene when device is tilted up and the item appears in background.

public static final IconType INFO

Icon representing ARObject in UP scene adjacent to the FRONT icon on the right when device is tilted up and the item appears in foreground.

Method Summary

Table 2. Methods in IconType
Methods

public static IconType valueOf (String name)

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

public static ARObject.IconType[] values ()

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

Enumeration Details

Icon types used by ARObject

Enum Constant Details

public static final IconType DOWN

Icon representing ARObject in DOWN scene when device is tilted down. Actual switch to down scene happens based on the down pitch threshold. See setPitchThreshold(float).

public static final IconType FRONT

Icon representing ARObject in UP scene when device is tilted up and the item appears in foreground. Actual switch to up scene happens based on the pitch threshold. See setPitchThreshold(float).

public static final IconType BACK

Icon representing ARObject in UP scene when device is tilted up and the item appears in background. Actual switch to up scene happens based on the pitch threshold. See setPitchThreshold(float).

public static final IconType INFO

Icon representing ARObject in UP scene adjacent to the FRONT icon on the right when device is tilted up and the item appears in foreground. Actual switch to up scene happens based on the pitch threshold. See setPitchThreshold(float).

Method Details

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

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