From 1fadf4d3b53427efe6c8618355d45ba6ef9d3385 Mon Sep 17 00:00:00 2001 From: Yu-Han Yang Date: Thu, 16 Sep 2021 09:16:20 -0700 Subject: Fix the link of addNmeaListener Bug: 157630227 Test: javadoc update only Change-Id: Iccd8695572cd94c3ffe00b04445a026edf79ee88 --- .../java/android/location/OnNmeaMessageListener.java | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'location/java/android') 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 NMEA 0183 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 NMEA 0183 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. -- cgit v1.2.3-59-g8ed1b