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

Commit 06543a45 authored by Scott Main's avatar Scott Main
Browse files

small cleanup of trigger event javadoc

Change-Id: Ib8a0fc0a7ddac6259cc1bb9e8701b0d570a101c6
parent 47c892e5
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -21,15 +21,14 @@ package android.hardware;
 * Trigger Sensors are sensors that trigger an event and are automatically
 * disabled. {@link Sensor#TYPE_SIGNIFICANT_MOTION} is one such example.
 * <p>
 * SensorManager lets you access the device's {@link android.hardware.Sensor
 * sensors}. Get an instance of this class by calling
 * {@link SensorManager} lets you access the device's {@link android.hardware.Sensor
 * sensors}. Get an instance of {@link SensorManager} by calling
 * {@link android.content.Context#getSystemService(java.lang.String)
 * Context.getSystemService()} with the argument
 * {@link android.content.Context#SENSOR_SERVICE}.
 * Usage details are explained in the example below.
 * </p>
 * <p>Here's an example setup for a TriggerEventListener:
 *
 * <pre class="prettyprint">
 * <pre>
 * class TriggerListener extends TriggerEventListener {
 *     public void onTrigger(TriggerEvent event) {
 *          // Do Work.