small cleanup of trigger event javadoc

Change-Id: Ib8a0fc0a7ddac6259cc1bb9e8701b0d570a101c6
This commit is contained in:
Scott Main
2013-06-05 14:29:50 -07:00
parent 47c892e5b0
commit 06543a4559

View File

@@ -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.