Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Using the latest SDK downloaded a couple days ago (Android 2.3 API level 9) I see all the types you list. On a Nexus S a sensor listener for TYPE_GYROSCOPE and SENSOR_DELAY_UI generates a sensor changed event about every 10 msec:</p> <blockquote> <p>e SensorEvent (id=830009808440)<br> accuracy 0<br> sensor Sensor (id=830009014296)<br> mHandle 5<br> mLegacyType 0<br> mMaxRange 34.906586<br> mMinDelay 1200<br> mName "K3G Gyroscope sensor" (id=830009014352)<br> mPower 6.1 mResolution 0.0012217305<br> mType 4<br> mVendor "STMicroelectronics" (id=830009014448)<br> mVersion 1<br> timestamp 99044897424000<br> values (id=830009808472)<br> [0] 0.02687807<br> [1] -0.009773844<br> [2] -0.0012217305 </p> </blockquote> <p>For TYPE_ROTATION_VECTOR I get an event about every 60 msec:</p> <blockquote> <p>e SensorEvent (id=830009257568)<br> accuracy 3<br> sensor Sensor (id=830009236640)<br> mHandle 1601335158<br> mLegacyType 0<br> mMaxRange 1.0 mMinDelay 20000<br> mName "Rotation Vector Sensor" (id=830009236696)<br> mPower 7.03<br> mResolution 5.9604645E-8<br> mType 11<br> mVendor "Google Inc." (id=830009236792) mVersion 1<br> timestamp 99327490002000<br> values (id=830009257600)<br> [0] 0.47573996<br> [1] -0.0030247832<br> [2] -0.004710396 </p> </blockquote> <p>For TYPE_LINEAR_ACCELERATION events also come in around every 60 msec:</p> <blockquote> <p>e SensorEvent (id=830009389592)<br> accuracy 3<br> sensor Sensor (id=830009013408)<br> mHandle 1600940398<br> mLegacyType 0<br> mMaxRange 19.6133 mMinDelay 20000<br> mName "Linear Acceleration Sensor" (id=830009013464)<br> mPower 0.23<br> mResolution 0.009576807 mType 10<br> mVendor "Google Inc." (id=830009013568) mVersion 1<br> timestamp 99619963498000<br> values (id=830009389624)<br> [0] -0.07089697 [1] 0.041391253 [2] -0.06359482 </p> </blockquote> <p>For TYPE_GRAVITY events come in around every 60 msec:</p> <blockquote> <p>e SensorEvent (id=830009037864)<br> accuracy 3<br> sensor Sensor (id=830009017880)<br> mHandle 1600615030<br> mLegacyType 0<br> mMaxRange 19.6133 mMinDelay 20000<br> mName "Gravity Sensor" (id=830009017936)<br> mPower 0.23<br> mResolution 0.009576807 mType 9<br> mVendor "Google Inc." (id=830009018016) mVersion 1<br> timestamp 99772462046000<br> values (id=830009037896)<br> [0] 0.030116666 [1] 0.65991235<br> [2] 9.721399 </p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload