Top |
The MMLocationGpsRaw 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_raw()
,
mm_modem_location_get_gps_raw_sync()
, mm_modem_location_get_full()
or
mm_modem_location_get_full_sync()
.
const gchar *
mm_location_gps_raw_get_utc_time (MMLocationGpsRaw *self
);
Gets the UTC time of the location being reported.
a string with the UTC time, or NULL if unknown. Do not free the
returned value, it is owned by self
.
Since: 1.0
gdouble
mm_location_gps_raw_get_longitude (MMLocationGpsRaw *self
);
Gets the longitude, in the [-180,180] range.
Since: 1.0
gdouble
mm_location_gps_raw_get_latitude (MMLocationGpsRaw *self
);
Gets the latitude, in the [-90,90] range.
Since: 1.0
gdouble
mm_location_gps_raw_get_altitude (MMLocationGpsRaw *self
);
Gets the altitude, in the [-90,90] range.
Since: 1.0
struct MMLocationGpsRaw;
The MMLocationGpsRaw structure contains private data and should only be accessed using the provided API.