- listener
- A Android.Hardware.ISensorEventListener object.
- sensor
- The Android.Hardware.Sensor to register to.
- rateUs
- The rate Android.Hardware.SensorEvent are delivered at. This is only a hint to the system. Events may be received faster or slower than the specified rate. Usually events are received faster. The value must be one of SensorManager.SENSOR_DELAY_NORMAL, SensorManager.SENSOR_DELAY_UI, SensorManager.SENSOR_DELAY_GAME, or SensorManager.SENSOR_DELAY_FASTEST or, the desired delay between events in microseconds. Specifying the delay in microseconds only works from Android 2.3 (API level 9) onwards. For earlier releases, you must use one of the SENSOR_DELAY_* constants.
- rate
- The rate Android.Hardware.SensorEvent are delivered at. This is only a hint to the system. Events may be received faster or slower than the specified rate. Usually events are received faster. The value must be one of SensorDelay.Normal, SensorDelay.Ui, SensorDelay.Game, or SensorDelay.Fastest or, the desired delay between events in microseconds. Specifying the delay in microseconds only works from Android 2.3 (API level 9) onwards. For earlier releases, you must use one of the SENSOR_DELAY_* constants.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException when sensor is null or a trigger sensor
Registers a Android.Hardware.ISensorEventListener for the given sensor.
Note: Don't use this method with a one shot trigger sensor such as Sensor.TYPE_SIGNIFICANT_MOTION. Use SensorManager.RequestTriggerSensor(TriggerEventListener, Android.Hardware.Sensor) instead.