GpsStatus.NmeaListener
public
static
interface
GpsStatus.NmeaListener
android.location.GpsStatus.NmeaListener |
This interface was deprecated
in API level 24.
use 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 for more details.
You can implement this interface and call LocationManager#addNmeaListener
to receive NMEA data from the GPS engine.
Summary
Public methods | |
---|---|
abstract
void
|
onNmeaReceived(long timestamp, String nmea)
|
Public methods
onNmeaReceived
public abstract void onNmeaReceived (long timestamp, String nmea)
Parameters | |
---|---|
timestamp |
long |
nmea |
String |