Added in API level 5
Deprecated in API level 24

NmeaListener


interface NmeaListener
android.location.GpsStatus.NmeaListener

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 for more details. You can implement this interface and call android.location.LocationManager#addNmeaListener to receive NMEA data from the GPS engine.

Summary

Public methods
abstract Unit
onNmeaReceived(timestamp: Long, nmea: String!)

Public methods

onNmeaReceived

Added in API level 5
abstract fun onNmeaReceived(
    timestamp: Long,
    nmea: String!
): Unit

Deprecated: Deprecated in Java.