Signal
XdpPortal::location-updated
Declaration
void
location_updated (
XdpPortal* self,
gdouble latitude,
gdouble longitude,
gdouble altitude,
gdouble accuracy,
gdouble speed,
gdouble heading,
gchar* description,
gint64 timestamp_s,
gint64 timestamp_ms,
gpointer user_data
)
Description [src]
Emitted when location monitoring is enabled and the location changes.
| Default handler: The default handler is called before the handlers added via |
Parameters
latitude-
Type:
gdoubleThe latitude, in degrees.
longitude-
Type:
gdoubleThe longitude, in degrees.
altitude-
Type:
gdoubleThe altitude, in meters.
accuracy-
Type:
gdoubleThe accuracy, in meters.
speed-
Type:
gdoubleThe speed, in meters per second.
heading-
Type:
gdoubleThe heading, in degrees.
description-
Type:
gchar*The description.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. timestamp_s-
Type:
gint64The timestamp seconds since the Unix epoch.
timestamp_ms-
Type:
gint64The microseconds fraction of the timestamp.