20 #ifndef SENSORMANAGER_H_ 21 #define SENSORMANAGER_H_ 23 #include <android/sensor.h> 24 #include "JNIHelper.h" 31 ORIENTATION_UNKNOWN = -1,
32 ORIENTATION_PORTRAIT = 0,
33 ORIENTATION_LANDSCAPE = 1,
34 ORIENTATION_REVERSE_PORTRAIT = 2,
35 ORIENTATION_REVERSE_LANDSCAPE = 3,
44 ASensorManager *sensorManager_;
45 const ASensor *accelerometerSensor_;
46 ASensorEventQueue *sensorEventQueue_;
53 void Process(
const int32_t
id);
63 ASensorManager* AcquireASensorManagerInstance(
android_app* app);
Definition: gestureDetector.h:32
Definition: android_native_app_glue.h:111