| libmm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct MMLocationGpsNmea; const gchar * mm_location_gps_nmea_get_trace (MMLocationGpsNmea *self,const gchar *trace_type); gchar * mm_location_gps_nmea_build_full (MMLocationGpsNmea *self);
The MMLocationGpsNmea is an object handling the location information of the modem when this is reported by GPS.
This object is retrieved with either mm_modem_location_get_gps_nmea(),
mm_modem_location_get_gps_nmea_sync(), mm_modem_location_get_full() or
mm_modem_location_get_full_sync().
struct MMLocationGpsNmea;
The MMLocationGpsNmea structure contains private data and should only be accessed using the provided API.
const gchar * mm_location_gps_nmea_get_trace (MMLocationGpsNmea *self,const gchar *trace_type);
Gets the last cached value of the specific trace_type given.
  | 
a MMLocationGpsNmea. | 
  | 
specific NMEA trace type to gather. | 
Returns :  | 
the NMEA trace, or NULL if not available. Do not free the returned value, it is owned by self. | 
gchar *             mm_location_gps_nmea_build_full     (MMLocationGpsNmea *self);
Gets a compilation of all cached traces.
  | 
a MMLocationGpsNmea. | 
Returns :  | 
(transfer full) a string containing all traces, or NULL if none available. The returned value should be freed with g_free(). |