HERE Android SDK Developer's Guide

SensorType

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

Enumeration Summary

public static final enumeration ARController.SensorType

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

Type of sensors used by the LiveSight engine.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in SensorType
Fields

public static final SensorType GPS

GPS coordinates sensor.

public static final SensorType COMPASS

Compass or magnetometer sensor.

public static final SensorType ACCELEROMETER

Accelerometer sensor.

public static final SensorType GYROSCOPE

Gyroscope sensor.

public static final SensorType CAMERA

Camera unit (video sensor).

Method Summary

Table 2. Methods in SensorType
Methods

public static SensorType valueOf (String name)

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

public static ARController.SensorType[] values ()

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

Enumeration Details

Type of sensors used by the LiveSight engine. See ARController.ExternalSensors.

Enum Constant Details

public static final SensorType GPS

GPS coordinates sensor.

public static final SensorType COMPASS

Compass or magnetometer sensor.

public static final SensorType ACCELEROMETER

Accelerometer sensor.

public static final SensorType GYROSCOPE

Gyroscope sensor.

public static final SensorType CAMERA

Camera unit (video sensor).

Method Details

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

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