EasyManua.ls Logo

Epson Moverio Pro BT-2000 - Using the Sensor

Epson Moverio Pro BT-2000
202 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MOVERIO Pro Developer's Guide (Rev.1.4)
117
7.2. Using the sensor
The sensor uses the standard Android API, SensorEventListener. The following lists the available
sensor types and usage examples.
7.2.1. Sensor type
The BT-2000 can use the following sensors. The following sensor types are also defined in the
Android Sensor class.
Sensor type
ID (Hex)
Constant name
IMU
Accelerometer
0x00000001
TYPE_ACCELEROMETER
Gyroscope
0x00000004
TYPE_GYROSCOPE
Geomagnetic sensor
Geomagnetic sensor
0x00000002
TYPE_MAGNETIC_FIELD
ALS
Sensor Illumination
0x00000005
TYPE_LIGHT
Others
Tap detection
0x00002001
TYPE_HEADSET_TAP
Azimuth detection
0x00000003
TYPE_ORIENTATION
* You can acquire the above from the Android Sensor class.
7.2.2. Import module
To use sensors, import below module.
android.hardware.Sensor
android.hardware.SensorEvent
android.hardware.SensorEventListener

Table of Contents

Other manuals for Epson Moverio Pro BT-2000

Related product manuals