Sony Addon SDK
public static interface

Registration.SensorTypeValue

This project is no longer being supported and will not get any further updates.

Class Overview

Definitions of sensor types

Summary

Constants
java.lang.String ACCELEROMETER Constant defining the sensor type Accelerometer.
java.lang.String LIGHT Constant defining the sensor type Light.
java.lang.String MAGNETIC_FIELD Constant defining the sensor type Magnetic Field.

Constants

Added in API level 1.0 public static final java.lang.String ACCELEROMETER

Constant defining the sensor type Accelerometer. Sensor data is sent as an array of 3 float values representing the acceleration on the x-axis, y-axis and z-axis respectively. All values are in SI units (m/s^2) For more information about the accelerometer sensor type, see TYPE_ACCELEROMETER

Constant Value: "Accelerometer"

Added in API level 1.0 public static final java.lang.String LIGHT

Constant defining the sensor type Light. Sensor data is sent as one float value representing the light level in SI lux units. For more information about the light sensor type, see TYPE_LIGHT

Constant Value: "Light"

Added in API level 2.0 public static final java.lang.String MAGNETIC_FIELD

Constant defining the sensor type Magnetic Field. Sensor data is sent as an array of 3 float values representing the ambient geomagnetic field for all three physical axes (x, y, z) in μT. For more information about the magnetic field sensor type, see TYPE_MAGNETIC_FIELD

Constant Value: "MagneticField"