@@ -480,7 +480,7 @@ public String getBestProvider(Criteria criteria, boolean enabledOnly) {
480480 * @param provider the name of the provider with which to register
481481 * @param minTime minimum time interval between location updates, in milliseconds
482482 * @param minDistance minimum distance between location updates, in meters
483- * @param listener a {# link LocationListener} whose
483+ * @param listener a {@ link LocationListener} whose
484484 * {@link LocationListener#onLocationChanged} method will be called for
485485 * each location update
486486 *
@@ -512,7 +512,7 @@ public void requestLocationUpdates(String provider, long minTime, float minDista
512512 * @param provider the name of the provider with which to register
513513 * @param minTime minimum time interval between location updates, in milliseconds
514514 * @param minDistance minimum distance between location updates, in meters
515- * @param listener a {# link LocationListener} whose
515+ * @param listener a {@ link LocationListener} whose
516516 * {@link LocationListener#onLocationChanged} method will be called for
517517 * each location update
518518 * @param looper a Looper object whose message queue will be used to
@@ -547,7 +547,7 @@ public void requestLocationUpdates(String provider, long minTime, float minDista
547547 * @param minDistance minimum distance between location updates, in meters
548548 * @param criteria contains parameters for the location manager to choose the
549549 * appropriate provider and parameters to compute the location
550- * @param listener a {# link LocationListener} whose
550+ * @param listener a {@ link LocationListener} whose
551551 * {@link LocationListener#onLocationChanged} method will be called for
552552 * each location update
553553 * @param looper a Looper object whose message queue will be used to
@@ -581,7 +581,7 @@ public void requestLocationUpdates(long minTime, float minDistance, Criteria cri
581581 * @param provider the name of the provider with which to register
582582 * @param minTime minimum time interval between location updates, in milliseconds
583583 * @param minDistance minimum distance between location updates, in meters
584- * @param intent a {# link PendingIntent} to be sent for each location update
584+ * @param intent a {@ link PendingIntent} to be sent for each location update
585585 *
586586 * @throws IllegalArgumentException if provider is null or doesn't exist
587587 * on this device
@@ -689,7 +689,7 @@ public void requestLocationUpdates(String provider, long minTime, float minDista
689689 * @param minDistance minimum distance between location updates, in meters
690690 * @param criteria contains parameters for the location manager to choose the
691691 * appropriate provider and parameters to compute the location
692- * @param intent a {# link PendingIntent} to be sent for each location update
692+ * @param intent a {@ link PendingIntent} to be sent for each location update
693693 *
694694 * @throws IllegalArgumentException if criteria is null
695695 * @throws IllegalArgumentException if intent is null
@@ -716,7 +716,7 @@ public void requestLocationUpdates(long minTime, float minDistance, Criteria cri
716716 * for more detail on how to use this (deprecated) method.
717717 *
718718 * @param provider the name of the provider with which to register
719- * @param listener a {# link LocationListener} whose
719+ * @param listener a {@ link LocationListener} whose
720720 * {@link LocationListener#onLocationChanged} method will be called when
721721 * the location update is available
722722 * @param looper a Looper object whose message queue will be used to
@@ -748,7 +748,7 @@ public void requestSingleUpdate(String provider, LocationListener listener, Loop
748748 *
749749 * @param criteria contains parameters for the location manager to choose the
750750 * appropriate provider and parameters to compute the location
751- * @param listener a {# link LocationListener} whose
751+ * @param listener a {@ link LocationListener} whose
752752 * {@link LocationListener#onLocationChanged} method will be called when
753753 * the location update is available
754754 * @param looper a Looper object whose message queue will be used to
@@ -778,7 +778,7 @@ public void requestSingleUpdate(Criteria criteria, LocationListener listener, Lo
778778 * for more detail on how to use this (deprecated) method.
779779 *
780780 * @param provider the name of the provider with which to register
781- * @param intent a {# link PendingIntent} to be sent for the location update
781+ * @param intent a {@ link PendingIntent} to be sent for the location update
782782 *
783783 * @throws IllegalArgumentException if provider is null or doesn't exist
784784 * @throws IllegalArgumentException if intent is null
@@ -804,7 +804,7 @@ public void requestSingleUpdate(String provider, PendingIntent intent) {
804804 *
805805 * @param criteria contains parameters for the location manager to choose the
806806 * appropriate provider and parameters to compute the location
807- * @param intent a {# link PendingIntent} to be sent for the location update
807+ * @param intent a {@ link PendingIntent} to be sent for the location update
808808 *
809809 * @throws IllegalArgumentException if provider is null or doesn't exist
810810 * @throws IllegalArgumentException if intent is null
@@ -860,8 +860,10 @@ public void requestSingleUpdate(Criteria criteria, PendingIntent intent) {
860860 * {@link #KEY_PROVIDER_ENABLED} or {@link #KEY_STATUS_CHANGED} will not
861861 * be received.
862862 *
863+ * <p> To unregister for Location updates, use: {@link #removeUpdates(LocationListener)}.
864+ *
863865 * @param request quality of service required, null for default low power
864- * @param listener a {# link LocationListener} whose
866+ * @param listener a {@ link LocationListener} whose
865867 * {@link LocationListener#onLocationChanged} method will be called when
866868 * the location update is available
867869 * @param looper a Looper object whose message queue will be used to
@@ -881,11 +883,13 @@ public void requestLocationUpdates(LocationRequest request, LocationListener lis
881883 /**
882884 * Register for fused location updates using a LocationRequest and a pending intent.
883885 *
886+ * <p> To unregister for Location updates, use: {@link #removeUpdates(PendingIntent)}.
887+ *
884888 * <p> See {@link #requestLocationUpdates(LocationRequest, LocationListener, Looper)}
885889 * for more detail.
886890 *
887891 * @param request quality of service required, null for default low power
888- * @param intent a {# link PendingIntent} to be sent for the location update
892+ * @param intent a {@ link PendingIntent} to be sent for the location update
889893 *
890894 * @throws IllegalArgumentException if intent is null
891895 * @throws SecurityException if no suitable permission is present
@@ -1603,7 +1607,7 @@ public void removeGpsStatusListener(GpsStatus.Listener listener) {
16031607 /**
16041608 * Adds an NMEA listener.
16051609 *
1606- * @param listener a {# link GpsStatus.NmeaListener} object to register
1610+ * @param listener a {@ link GpsStatus.NmeaListener} object to register
16071611 *
16081612 * @return true if the listener was successfully added
16091613 *
@@ -1633,7 +1637,7 @@ public boolean addNmeaListener(GpsStatus.NmeaListener listener) {
16331637 /**
16341638 * Removes an NMEA listener.
16351639 *
1636- * @param listener a {# link GpsStatus.NmeaListener} object to remove
1640+ * @param listener a {@ link GpsStatus.NmeaListener} object to remove
16371641 */
16381642 public void removeNmeaListener (GpsStatus .NmeaListener listener ) {
16391643 try {
0 commit comments