public class RoboSensorManager
extends android.hardware.SensorManager
SensorManager.AXIS_MINUS_X, AXIS_MINUS_Y, AXIS_MINUS_Z, AXIS_X, AXIS_Y, AXIS_Z, DATA_X, DATA_Y, DATA_Z, GRAVITY_DEATH_STAR_I, GRAVITY_EARTH, GRAVITY_JUPITER, GRAVITY_MARS, GRAVITY_MERCURY, GRAVITY_MOON, GRAVITY_NEPTUNE, GRAVITY_PLUTO, GRAVITY_SATURN, GRAVITY_SUN, GRAVITY_THE_ISLAND, GRAVITY_URANUS, GRAVITY_VENUS, LIGHT_CLOUDY, LIGHT_FULLMOON, LIGHT_NO_MOON, LIGHT_OVERCAST, LIGHT_SHADE, LIGHT_SUNLIGHT, LIGHT_SUNLIGHT_MAX, LIGHT_SUNRISE, MAGNETIC_FIELD_EARTH_MAX, MAGNETIC_FIELD_EARTH_MIN, PRESSURE_STANDARD_ATMOSPHERE, RAW_DATA_INDEX, RAW_DATA_X, RAW_DATA_Y, RAW_DATA_Z, SENSOR_ACCELEROMETER, SENSOR_ALL, SENSOR_DELAY_FASTEST, SENSOR_DELAY_GAME, SENSOR_DELAY_NORMAL, SENSOR_DELAY_UI, SENSOR_LIGHT, SENSOR_MAGNETIC_FIELD, SENSOR_MAX, SENSOR_MIN, SENSOR_ORIENTATION, SENSOR_ORIENTATION_RAW, SENSOR_PROXIMITY, SENSOR_STATUS_ACCURACY_HIGH, SENSOR_STATUS_ACCURACY_LOW, SENSOR_STATUS_ACCURACY_MEDIUM, SENSOR_STATUS_NO_CONTACT, SENSOR_STATUS_UNRELIABLE, SENSOR_TEMPERATURE, SENSOR_TRICORDER, STANDARD_GRAVITY, TAG| Constructor and Description |
|---|
RoboSensorManager() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
cancelTriggerSensorImpl(android.hardware.TriggerEventListener listener,
android.hardware.Sensor sensor,
boolean disable) |
protected boolean |
flushImpl(android.hardware.SensorEventListener listener) |
protected List<android.hardware.Sensor> |
getFullSensorList() |
List<android.hardware.Sensor> |
getSensorList(int type) |
protected boolean |
initDataInjectionImpl(boolean enable) |
protected boolean |
injectSensorDataImpl(android.hardware.Sensor sensor,
float[] values,
int accuracy,
long timestamp) |
protected boolean |
registerListenerImpl(android.hardware.SensorEventListener listener,
android.hardware.Sensor sensor,
int delayUs,
android.os.Handler handler,
int maxBatchReportLatencyUs,
int reservedFlags) |
protected boolean |
requestTriggerSensorImpl(android.hardware.TriggerEventListener listener,
android.hardware.Sensor sensor) |
protected void |
unregisterListenerImpl(android.hardware.SensorEventListener listener,
android.hardware.Sensor sensor) |
cancelTriggerSensor, flush, getAltitude, getAngleChange, getDefaultSensor, getDefaultSensor, getInclination, getOrientation, getQuaternionFromVector, getRotationMatrix, getRotationMatrixFromVector, getSensors, initDataInjection, injectSensorData, registerListener, registerListener, registerListener, registerListener, registerListener, registerListener, remapCoordinateSystem, requestTriggerSensor, unregisterListener, unregisterListener, unregisterListener, unregisterListenerpublic List<android.hardware.Sensor> getSensorList(int type)
getSensorList in class android.hardware.SensorManagerprotected void unregisterListenerImpl(android.hardware.SensorEventListener listener,
android.hardware.Sensor sensor)
unregisterListenerImpl in class android.hardware.SensorManagerprotected boolean registerListenerImpl(android.hardware.SensorEventListener listener,
android.hardware.Sensor sensor,
int delayUs,
android.os.Handler handler,
int maxBatchReportLatencyUs,
int reservedFlags)
registerListenerImpl in class android.hardware.SensorManagerprotected boolean flushImpl(android.hardware.SensorEventListener listener)
flushImpl in class android.hardware.SensorManagerprotected boolean requestTriggerSensorImpl(android.hardware.TriggerEventListener listener,
android.hardware.Sensor sensor)
requestTriggerSensorImpl in class android.hardware.SensorManagerprotected boolean cancelTriggerSensorImpl(android.hardware.TriggerEventListener listener,
android.hardware.Sensor sensor,
boolean disable)
cancelTriggerSensorImpl in class android.hardware.SensorManagerprotected List<android.hardware.Sensor> getFullSensorList()
getFullSensorList in class android.hardware.SensorManagerprotected boolean initDataInjectionImpl(boolean enable)
initDataInjectionImpl in class android.hardware.SensorManagerprotected boolean injectSensorDataImpl(android.hardware.Sensor sensor,
float[] values,
int accuracy,
long timestamp)
injectSensorDataImpl in class android.hardware.SensorManagerCopyright © 2016. All rights reserved.