Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a230b3cb authored by kmccormick's avatar kmccormick
Browse files

Doc update: clarify rules for rate param

"Bug: 5581113"

Change-Id: Ic87f1c331fba2b08de295b2d77832739bf823500
parent 689e827a
Loading
Loading
Loading
Loading
+8 −2
Original line number Original line Diff line number Diff line
@@ -572,7 +572,10 @@ public abstract class SensorManager {
     *        are received faster. The value must be one of
     *        are received faster. The value must be one of
     *        {@link #SENSOR_DELAY_NORMAL}, {@link #SENSOR_DELAY_UI},
     *        {@link #SENSOR_DELAY_NORMAL}, {@link #SENSOR_DELAY_UI},
     *        {@link #SENSOR_DELAY_GAME}, or {@link #SENSOR_DELAY_FASTEST}
     *        {@link #SENSOR_DELAY_GAME}, or {@link #SENSOR_DELAY_FASTEST}
     *        or, the desired delay between events in microsecond.
     *        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 {@code SENSOR_DELAY_*} constants.
     *
     *
     * @return <code>true</code> if the sensor is supported and successfully
     * @return <code>true</code> if the sensor is supported and successfully
     *         enabled.
     *         enabled.
@@ -604,7 +607,10 @@ public abstract class SensorManager {
     *        are received faster. The value must be one of
     *        are received faster. The value must be one of
     *        {@link #SENSOR_DELAY_NORMAL}, {@link #SENSOR_DELAY_UI},
     *        {@link #SENSOR_DELAY_NORMAL}, {@link #SENSOR_DELAY_UI},
     *        {@link #SENSOR_DELAY_GAME}, or {@link #SENSOR_DELAY_FASTEST}.
     *        {@link #SENSOR_DELAY_GAME}, or {@link #SENSOR_DELAY_FASTEST}.
     *        or, the desired delay between events in microsecond.
     *        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 {@code SENSOR_DELAY_*} constants.
     *
     *
     * @param handler
     * @param handler
     *        The {@link android.os.Handler Handler} the
     *        The {@link android.os.Handler Handler} the