Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# GpsStatus.NmeaListener

*** ** * ** ***

` public static interface GpsStatus.NmeaListener `   
` `

|---|
| android.location.GpsStatus.NmeaListener |

<br />

*** ** * ** ***

<br />

**This interface was deprecated in API level 24.**   

use `https://developer.android.com/reference/android/location/OnNmeaMessageListener` instead.

Used for receiving NMEA sentences from the GPS. NMEA 0183 is a standard for communicating with marine electronic devices and is a common method for receiving data from a GPS, typically over a serial port. See [NMEA 0183](http://en.wikipedia.org/wiki/NMEA_0183) for more details. You can implement this interface and call `https://developer.android.com/reference/android/location/LocationManager#addNmeaListener(android.location.GpsStatus.NmeaListener)` to receive NMEA data from the GPS engine.

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/location/GpsStatus.NmeaListener#onNmeaReceived(long,%20java.lang.String)(long timestamp, https://developer.android.com/reference/java/lang/String nmea) ` |

## Public methods

### onNmeaReceived

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void onNmeaReceived (long timestamp, 
                String nmea)
```

<br />

<br />

| Parameters ||
|---|---|
| `timestamp` | `long` <br /> |
| `nmea` | `String` <br /> |