get_signaled_gps_nmea


Description:

[ Version ( since = "1.18" ) ]
public LocationGpsNmea get_signaled_gps_nmea ()

Gets a LocationGpsNmea object with the current GPS NMEA location information.

Unlike get_gps_nmea or get_gps_nmea_sync, this method does not perform an explicit query. Instead, this method will return the location information that may have been signaled by the modem. Therefore, this method will only succeed if location signaling is enabled (e.g. with setup in the ModemLocation).

Warning:

The values reported by this are not updated when the values in the interface change. Instead, the client is expected to call get_signaled_gps_nmea again to get a new LocationGpsNmea with the new values.

Parameters:

this

A ModemLocation.

Returns:

A LocationGpsNmea that must be freed with unref or null if none available.