summaryrefslogtreecommitdiff
path: root/location/java/android
diff options
context:
space:
mode:
author Yu-Han Yang <yuhany@google.com> 2021-09-16 09:16:20 -0700
committer Yu-Han Yang <yuhany@google.com> 2021-09-16 09:16:20 -0700
commit1fadf4d3b53427efe6c8618355d45ba6ef9d3385 (patch)
treecd149725e28e2e0abe37416b02a00c0b6723551e /location/java/android
parent6c705ff394fc17d87e4b6617ffceaf778cdac430 (diff)
Fix the link of addNmeaListener
Bug: 157630227 Test: javadoc update only Change-Id: Iccd8695572cd94c3ffe00b04445a026edf79ee88
Diffstat (limited to 'location/java/android')
-rw-r--r--location/java/android/location/OnNmeaMessageListener.java17
1 files changed, 10 insertions, 7 deletions
diff --git a/location/java/android/location/OnNmeaMessageListener.java b/location/java/android/location/OnNmeaMessageListener.java
index 05647bc5237b..1c02ebd30d58 100644
--- a/location/java/android/location/OnNmeaMessageListener.java
+++ b/location/java/android/location/OnNmeaMessageListener.java
@@ -16,14 +16,17 @@
package android.location;
+import java.util.concurrent.Executor;
+
/**
-* Used for receiving NMEA sentences from the GNSS.
-* NMEA 0183 is a standard for communicating with marine electronic devices
-* and is a common method for receiving data from a GNSS, typically over a serial port.
-* See <a href="http://en.wikipedia.org/wiki/NMEA_0183">NMEA 0183</a> for more details.
-* You can implement this interface and call {@link LocationManager#addNmeaListener}
-* to receive NMEA data from the GNSS engine.
-*/
+ * Used for receiving NMEA sentences from the GNSS.
+ * NMEA 0183 is a standard for communicating with marine electronic devices
+ * and is a common method for receiving data from a GNSS, typically over a serial port.
+ * See <a href="http://en.wikipedia.org/wiki/NMEA_0183">NMEA 0183</a> for more details.
+ * You can implement this interface and call
+ * {@link LocationManager#addNmeaListener(Executor, OnNmeaMessageListener)} to receive NMEA data
+ * from the GNSS engine.
+ */
public interface OnNmeaMessageListener {
/**
* Called when an NMEA message is received.