Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.top_of_page">org.freedesktop.GeoClue2.Client</link>.
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.top_of_page">org.freedesktop.GeoClue2.Client</link> D-Bus interface.
A #GDBusInterfaceInfo. Do not free.
Overrides all #GObject properties in the #GClueClient interface for a concrete class.
The properties are overridden in the order they are defined.
The last property id.
The class structure for a #GObject derived class.
The property id to assign to the first overridden property.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Active">"Active"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gclue_client_dup_desktop_id() if on another thread.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Location">"Location"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gclue_client_dup_location() if on another thread.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueClient.
Handler for the #GClueClient::handle-start signal.
Handler for the #GClueClient::handle-stop signal.
Handler for the #GClueClient::location-updated signal.
Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.Start">Start()</link> D-Bus method on @proxy.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_client_call_start_finish() to get the result of the operation.
See gclue_client_call_start_sync() for the synchronous, blocking version of this method.
A #GClueClientProxy.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
User data to pass to @callback.
Finishes an operation started with gclue_client_call_start().
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueClientProxy.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_client_call_start().
Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.Start">Start()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_client_call_start() for the asynchronous version of this method.
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueClientProxy.
A #GCancellable or %NULL.
Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.Stop">Stop()</link> D-Bus method on @proxy.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_client_call_stop_finish() to get the result of the operation.
See gclue_client_call_stop_sync() for the synchronous, blocking version of this method.
A #GClueClientProxy.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
User data to pass to @callback.
Finishes an operation started with gclue_client_call_stop().
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueClientProxy.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_client_call_stop().
Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.Stop">Stop()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_client_call_stop() for the asynchronous version of this method.
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueClientProxy.
A #GCancellable or %NULL.
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.Start">Start()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free @invocation, you cannot use it afterwards.
A #GClueClient.
A #GDBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.Stop">Stop()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free @invocation, you cannot use it afterwards.
A #GClueClient.
A #GDBusMethodInvocation.
Gets a copy of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The property value or %NULL if the property is not set. The returned value should be freed with g_free().
A #GClueClient.
Gets a copy of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Location">"Location"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or %NULL if the property is not set. The returned value should be freed with g_free().
A #GClueClient.
Emits the <link linkend="gdbus-signal-org-freedesktop-GeoClue2-Client.LocationUpdated">"LocationUpdated"</link> D-Bus signal.
A #GClueClient.
Argument to pass with the signal.
Argument to pass with the signal.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Active">"Active"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gclue_client_dup_desktop_id() if on another thread.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Location">"Location"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gclue_client_dup_location() if on another thread.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueClient.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link> D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueClient.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Active">"Active"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueClient.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link> D-Bus property to @value.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
A #GClueClient.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link> D-Bus property to @value.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
A #GClueClient.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Location">"Location"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueClient.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link> D-Bus property to @value.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
A #GClueClient.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link> D-Bus property to @value.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
A #GClueClient.
The value to set.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Active">"Active"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DesktopId">"DesktopId"</link>.
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.DistanceThreshold">"DistanceThreshold"</link>.
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.Location">"Location"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.RequestedAccuracyLevel">"RequestedAccuracyLevel"</link>.
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.TimeThreshold">"TimeThreshold"</link>.
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.Start">Start()</link> D-Bus method.
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gclue_client_complete_start() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
%G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
A #GDBusMethodInvocation.
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.Stop">Stop()</link> D-Bus method.
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gclue_client_complete_stop() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
%G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
A #GDBusMethodInvocation.
On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-GeoClue2-Client.LocationUpdated">"LocationUpdated"</link> is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
Argument.
Argument.
Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.top_of_page">org.freedesktop.GeoClue2.Client</link>.
The parent interface.
Handler for the #GClueClient::handle-start signal.
Handler for the #GClueClient::handle-stop signal.
Getter for the #GClueClient:active property.
The property value.
A #GClueClient.
Getter for the #GClueClient:desktop-id property.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueClient.
Getter for the #GClueClient:distance-threshold property.
The property value.
A #GClueClient.
Getter for the #GClueClient:location property.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueClient.
Getter for the #GClueClient:requested-accuracy-level property.
The property value.
A #GClueClient.
Getter for the #GClueClient:time-threshold property.
The property value.
A #GClueClient.
Handler for the #GClueClient::location-updated signal.
The #GClueClientProxy structure contains only private data and should only be accessed using the provided API.
Finishes an operation started with gclue_client_proxy_new().
The constructed proxy object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_client_proxy_new().
Finishes an operation started with gclue_client_proxy_new_for_bus().
The constructed proxy object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_client_proxy_new_for_bus().
Like gclue_client_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
The calling thread is blocked until a reply is received.
See gclue_client_proxy_new_for_bus() for the asynchronous version of this constructor.
The constructed proxy object or %NULL if @error is set.
A #GBusType.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique).
An object path.
A #GCancellable or %NULL.
Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.top_of_page">org.freedesktop.GeoClue2.Client</link>. See g_dbus_proxy_new_sync() for more details.
The calling thread is blocked until a reply is received.
See gclue_client_proxy_new() for the asynchronous version of this constructor.
The constructed proxy object or %NULL if @error is set.
A #GDBusConnection.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
An object path.
A #GCancellable or %NULL.
A utility function to create a #GClueClientProxy without having to deal with
a #GClueManager. See also gclue_client_proxy_create_full() which improves
resource management.
This is identitcal to calling gclue_client_proxy_create_full() without any
flags set.
See #gclue_client_proxy_create_sync() for the synchronous, blocking version
of this function.
The desktop file id (the basename of the desktop file).
The requested accuracy level as #GClueAccuracyLevel.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the results are ready.
User data to pass to @callback.
Finishes an operation started with gclue_client_proxy_create().
The constructed proxy
object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to
gclue_client_proxy_create().
A utility function to create a #GClueClientProxy without having to deal with
a #GClueManager.
By setting the #GCLUE_CLIENT_PROXY_CREATE_AUTO_DELETE flag you can ensure
that the client will be deleted again from the geoclue service when
it is destroyed. This flag should be used unless you are doing explicit
resource management.
See #gclue_client_proxy_create_full_sync() for the synchronous, blocking
version of this function.
The desktop file id (the basename of the desktop file).
The requested accuracy level as #GClueAccuracyLevel.
#GClueClientProxyCreateFlags to modify the creation.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the results are ready.
User data to pass to @callback.
Finishes an operation started with gclue_client_proxy_create_full().
The constructed proxy
object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to
gclue_client_proxy_create().
The synchronous and blocking version of #gclue_client_proxy_create_full().
By setting the #GCLUE_CLIENT_PROXY_CREATE_AUTO_DELETE flag you can ensure
that the client will be deleted again from the geoclue service when
it is destroyed. This flag should be used unless you are doing explicit
resource management.
The constructed proxy
object or %NULL if @error is set.
The desktop file id (the basename of the desktop file).
The requested accuracy level as #GClueAccuracyLevel.
#GClueClientProxyCreateFlags to modify the creation.
A #GCancellable or %NULL.
The synchronous and blocking version of #gclue_client_proxy_create().
See also gclue_client_proxy_create_full_sync() which improves resource
management.
This function is identical to calling gclue_client_proxy_create_full_sync()
without any flags set.
The constructed proxy
object or %NULL if @error is set.
The desktop file id (the basename of the desktop file).
The requested accuracy level as #GClueAccuracyLevel.
A #GCancellable or %NULL.
Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.top_of_page">org.freedesktop.GeoClue2.Client</link>. See g_dbus_proxy_new() for more details.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_client_proxy_new_finish() to get the result of the operation.
See gclue_client_proxy_new_sync() for the synchronous, blocking version of this constructor.
A #GDBusConnection.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
An object path.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied.
User data to pass to @callback.
Like gclue_client_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_client_proxy_new_for_bus_finish() to get the result of the operation.
See gclue_client_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
A #GBusType.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique).
An object path.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied.
User data to pass to @callback.
Class structure for #GClueClientProxy.
The parent class.
The #GClueClientSkeleton structure contains only private data and should only be accessed using the provided API.
Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.top_of_page">org.freedesktop.GeoClue2.Client</link>.
The skeleton object.
Class structure for #GClueClientSkeleton.
The parent class.
This section contains code for working with the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.top_of_page">org.freedesktop.GeoClue2.Client</link> D-Bus interface in C.
This section contains code for working with the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page">org.freedesktop.GeoClue2.Location</link> D-Bus interface in C.
This section contains code for working with the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link> D-Bus interface in C.
Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page">org.freedesktop.GeoClue2.Location</link>.
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page">org.freedesktop.GeoClue2.Location</link> D-Bus interface.
A #GDBusInterfaceInfo. Do not free.
Overrides all #GObject properties in the #GClueLocation interface for a concrete class.
The properties are overridden in the order they are defined.
The last property id.
The class structure for a #GObject derived class.
The property id to assign to the first overridden property.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Accuracy">"Accuracy"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Altitude">"Altitude"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Description">"Description"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gclue_location_dup_description() if on another thread.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Heading">"Heading"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Latitude">"Latitude"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Longitude">"Longitude"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Speed">"Speed"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Timestamp">"Timestamp"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gclue_location_dup_timestamp() if on another thread.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueLocation.
Gets a copy of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Description">"Description"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or %NULL if the property is not set. The returned value should be freed with g_free().
A #GClueLocation.
Gets a copy of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Timestamp">"Timestamp"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref().
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Accuracy">"Accuracy"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Altitude">"Altitude"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Description">"Description"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gclue_location_dup_description() if on another thread.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Heading">"Heading"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Latitude">"Latitude"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Longitude">"Longitude"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Speed">"Speed"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueLocation.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Timestamp">"Timestamp"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gclue_location_dup_timestamp() if on another thread.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueLocation.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Accuracy">"Accuracy"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueLocation.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Altitude">"Altitude"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueLocation.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Description">"Description"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueLocation.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Heading">"Heading"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueLocation.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Latitude">"Latitude"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueLocation.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Longitude">"Longitude"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueLocation.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Speed">"Speed"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueLocation.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Timestamp">"Timestamp"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueLocation.
The value to set.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Accuracy">"Accuracy"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Altitude">"Altitude"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Description">"Description"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Heading">"Heading"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Latitude">"Latitude"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Longitude">"Longitude"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Speed">"Speed"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Location.Timestamp">"Timestamp"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page">org.freedesktop.GeoClue2.Location</link>.
The parent interface.
Getter for the #GClueLocation:accuracy property.
The property value.
A #GClueLocation.
Getter for the #GClueLocation:altitude property.
The property value.
A #GClueLocation.
Getter for the #GClueLocation:description property.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueLocation.
Getter for the #GClueLocation:heading property.
The property value.
A #GClueLocation.
Getter for the #GClueLocation:latitude property.
The property value.
A #GClueLocation.
Getter for the #GClueLocation:longitude property.
The property value.
A #GClueLocation.
Getter for the #GClueLocation:speed property.
The property value.
A #GClueLocation.
Getter for the #GClueLocation:timestamp property.
The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
A #GClueLocation.
The #GClueLocationProxy structure contains only private data and should only be accessed using the provided API.
Finishes an operation started with gclue_location_proxy_new().
The constructed proxy object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_location_proxy_new().
Finishes an operation started with gclue_location_proxy_new_for_bus().
The constructed proxy object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_location_proxy_new_for_bus().
Like gclue_location_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
The calling thread is blocked until a reply is received.
See gclue_location_proxy_new_for_bus() for the asynchronous version of this constructor.
The constructed proxy object or %NULL if @error is set.
A #GBusType.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique).
An object path.
A #GCancellable or %NULL.
Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page">org.freedesktop.GeoClue2.Location</link>. See g_dbus_proxy_new_sync() for more details.
The calling thread is blocked until a reply is received.
See gclue_location_proxy_new() for the asynchronous version of this constructor.
The constructed proxy object or %NULL if @error is set.
A #GDBusConnection.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
An object path.
A #GCancellable or %NULL.
Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page">org.freedesktop.GeoClue2.Location</link>. See g_dbus_proxy_new() for more details.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_location_proxy_new_finish() to get the result of the operation.
See gclue_location_proxy_new_sync() for the synchronous, blocking version of this constructor.
A #GDBusConnection.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
An object path.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied.
User data to pass to @callback.
Like gclue_location_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_location_proxy_new_for_bus_finish() to get the result of the operation.
See gclue_location_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
A #GBusType.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique).
An object path.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied.
User data to pass to @callback.
Class structure for #GClueLocationProxy.
The parent class.
The #GClueLocationSkeleton structure contains only private data and should only be accessed using the provided API.
Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page">org.freedesktop.GeoClue2.Location</link>.
The skeleton object.
Class structure for #GClueLocationSkeleton.
The parent class.
Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link>.
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link> D-Bus interface.
A #GDBusInterfaceInfo. Do not free.
Overrides all #GObject properties in the #GClueManager interface for a concrete class.
The properties are overridden in the order they are defined.
The last property id.
The class structure for a #GObject derived class.
The property id to assign to the first overridden property.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueManager.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueManager.
Handler for the #GClueManager::handle-add-agent signal.
Handler for the #GClueManager::handle-create-client signal.
Handler for the #GClueManager::handle-delete-client signal.
Handler for the #GClueManager::handle-get-client signal.
Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method on @proxy.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_manager_call_add_agent_finish() to get the result of the operation.
See gclue_manager_call_add_agent_sync() for the synchronous, blocking version of this method.
A #GClueManagerProxy.
Argument to pass with the method invocation.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
User data to pass to @callback.
Finishes an operation started with gclue_manager_call_add_agent().
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueManagerProxy.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_manager_call_add_agent().
Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_manager_call_add_agent() for the asynchronous version of this method.
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueManagerProxy.
Argument to pass with the method invocation.
A #GCancellable or %NULL.
Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> D-Bus method on @proxy.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_manager_call_create_client_finish() to get the result of the operation.
See gclue_manager_call_create_client_sync() for the synchronous, blocking version of this method.
A #GClueManagerProxy.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
User data to pass to @callback.
Finishes an operation started with gclue_manager_call_create_client().
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueManagerProxy.
Return location for return parameter or %NULL to ignore.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_manager_call_create_client().
Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_manager_call_create_client() for the asynchronous version of this method.
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueManagerProxy.
Return location for return parameter or %NULL to ignore.
A #GCancellable or %NULL.
Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method on @proxy.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_manager_call_delete_client_finish() to get the result of the operation.
See gclue_manager_call_delete_client_sync() for the synchronous, blocking version of this method.
A #GClueManagerProxy.
Argument to pass with the method invocation.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
User data to pass to @callback.
Finishes an operation started with gclue_manager_call_delete_client().
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueManagerProxy.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_manager_call_delete_client().
Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_manager_call_delete_client() for the asynchronous version of this method.
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueManagerProxy.
Argument to pass with the method invocation.
A #GCancellable or %NULL.
Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> D-Bus method on @proxy.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_manager_call_get_client_finish() to get the result of the operation.
See gclue_manager_call_get_client_sync() for the synchronous, blocking version of this method.
A #GClueManagerProxy.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
User data to pass to @callback.
Finishes an operation started with gclue_manager_call_get_client().
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueManagerProxy.
Return location for return parameter or %NULL to ignore.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_manager_call_get_client().
Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_manager_call_get_client() for the asynchronous version of this method.
%TRUE if the call succeeded, %FALSE if @error is set.
A #GClueManagerProxy.
Return location for return parameter or %NULL to ignore.
A #GCancellable or %NULL.
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free @invocation, you cannot use it afterwards.
A #GClueManager.
A #GDBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free @invocation, you cannot use it afterwards.
A #GClueManager.
A #GDBusMethodInvocation.
Parameter to return.
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free @invocation, you cannot use it afterwards.
A #GClueManager.
A #GDBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free @invocation, you cannot use it afterwards.
A #GClueManager.
A #GDBusMethodInvocation.
Parameter to return.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueManager.
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value.
A #GClueManager.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueManager.
The value to set.
Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
A #GClueManager.
The value to set.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link>.
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method.
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gclue_manager_complete_add_agent() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
%G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
A #GDBusMethodInvocation.
Argument passed by remote caller.
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> D-Bus method.
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gclue_manager_complete_create_client() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
%G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
A #GDBusMethodInvocation.
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method.
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gclue_manager_complete_delete_client() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
%G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
A #GDBusMethodInvocation.
Argument passed by remote caller.
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> D-Bus method.
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gclue_manager_complete_get_client() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
%G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
A #GDBusMethodInvocation.
Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link>.
The parent interface.
Handler for the #GClueManager::handle-add-agent signal.
Handler for the #GClueManager::handle-create-client signal.
Handler for the #GClueManager::handle-delete-client signal.
Handler for the #GClueManager::handle-get-client signal.
Getter for the #GClueManager:available-accuracy-level property.
The property value.
A #GClueManager.
Getter for the #GClueManager:in-use property.
The property value.
A #GClueManager.
The #GClueManagerProxy structure contains only private data and should only be accessed using the provided API.
Finishes an operation started with gclue_manager_proxy_new().
The constructed proxy object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_manager_proxy_new().
Finishes an operation started with gclue_manager_proxy_new_for_bus().
The constructed proxy object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_manager_proxy_new_for_bus().
Like gclue_manager_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
The calling thread is blocked until a reply is received.
See gclue_manager_proxy_new_for_bus() for the asynchronous version of this constructor.
The constructed proxy object or %NULL if @error is set.
A #GBusType.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique).
An object path.
A #GCancellable or %NULL.
Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link>. See g_dbus_proxy_new_sync() for more details.
The calling thread is blocked until a reply is received.
See gclue_manager_proxy_new() for the asynchronous version of this constructor.
The constructed proxy object or %NULL if @error is set.
A #GDBusConnection.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
An object path.
A #GCancellable or %NULL.
Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link>. See g_dbus_proxy_new() for more details.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_manager_proxy_new_finish() to get the result of the operation.
See gclue_manager_proxy_new_sync() for the synchronous, blocking version of this constructor.
A #GDBusConnection.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
An object path.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied.
User data to pass to @callback.
Like gclue_manager_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call gclue_manager_proxy_new_for_bus_finish() to get the result of the operation.
See gclue_manager_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
A #GBusType.
Flags from the #GDBusProxyFlags enumeration.
A bus name (well-known or unique).
An object path.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the request is satisfied.
User data to pass to @callback.
Class structure for #GClueManagerProxy.
The parent class.
The #GClueManagerSkeleton structure contains only private data and should only be accessed using the provided API.
Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link>.
The skeleton object.
Class structure for #GClueManagerSkeleton.
The parent class.
Finishes an operation started with #gclue_simple_new().
The constructed proxy
object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to
#gclue_simple_new().
The synchronous and blocking version of #gclue_simple_new().
The new #GClueSimple object or
%NULL if @error is set.
The desktop file id (the basename of the desktop file).
The requested accuracy level as #GClueAccuracyLevel.
A #GCancellable or %NULL.
Finishes an operation started with #gclue_simple_new_with_thresholds().
The constructed proxy
object or %NULL if @error is set.
The #GAsyncResult obtained from the #GAsyncReadyCallback passed to
#gclue_simple_new_with_thresholds().
The synchronous and blocking version of #gclue_simple_new_with_thresholds().
The new #GClueSimple object or
%NULL if @error is set.
The desktop file id (the basename of the desktop file).
The requested accuracy level as #GClueAccuracyLevel.
Time threshold in seconds, 0 for no limit.
Distance threshold in meters, 0 for no limit.
A #GCancellable or %NULL.
Asynchronously creates a #GClueSimple instance. Use
#gclue_simple_new_finish() to get the created #GClueSimple instance.
See #gclue_simple_new_sync() for the synchronous, blocking version
of this function.
The desktop file id (the basename of the desktop file).
The requested accuracy level as #GClueAccuracyLevel.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the results are ready.
User data to pass to @callback.
Asynchronously creates a #GClueSimple instance. Use
#gclue_simple_new_with_thresholds_finish() to get the created #GClueSimple instance.
See #gclue_simple_new_with_thresholds_sync() for the synchronous,
blocking version of this function.
The desktop file id (the basename of the desktop file).
The requested accuracy level as #GClueAccuracyLevel.
Time threshold in seconds, 0 for no limit.
Distance threshold in meters, 0 for no limit.
A #GCancellable or %NULL.
A #GAsyncReadyCallback to call when the results are ready.
User data to pass to @callback.
Gets the client proxy, or %NULL if @simple is not using a client proxy (i-e
when inside the Flatpak sandbox).
The client object.
A #GClueSimple object.
Gets the current location.
The last known location
as #GClueLocation.
A #GClueSimple object.
The requested maximum accuracy level.
The client proxy. This is %NULL if @simple is not using a client proxy
(i-e when inside the Flatpak sandbox).
The Desktop ID of the application.
The current distance threshold in meters. This value is used by the
service when it gets new location info. If the distance moved is
below the threshold, it won't emit the LocationUpdated signal.
When set to 0 (default), it always emits the signal.
The current location.
The current time threshold in seconds. This value is used by the
service when it gets new location info. If the time passed is
below the threshold, it won't emit the LocationUpdated signal.
When set to 0 (default), it always emits the signal.
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.top_of_page">org.freedesktop.GeoClue2.Client</link> D-Bus interface.
A #GDBusInterfaceInfo. Do not free.
Overrides all #GObject properties in the #GClueClient interface for a concrete class.
The properties are overridden in the order they are defined.
The last property id.
The class structure for a #GObject derived class.
The property id to assign to the first overridden property.
TODO
#GClueSimple make it very simple to get latest location and monitoring
location updates. It takes care of the boring tasks of creating a
#GClueClientProxy instance, starting it, waiting till we have a location fix
and then creating a #GClueLocationProxy instance for it.
Use #gclue_simple_new() or #gclue_simple_new_sync() to create a new
#GClueSimple instance. Once you have a #GClueSimple instance, you can get the
latest location using #gclue_simple_get_location() or reading the
#GClueSimple:location property. To monitor location updates, connect to
notify signal for this property.
While most applications will find this API very useful, it is most
useful for applications that simply want to get the current location as
quickly as possible and do not care about accuracy (much).
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page">org.freedesktop.GeoClue2.Location</link> D-Bus interface.
A #GDBusInterfaceInfo. Do not free.
Overrides all #GObject properties in the #GClueLocation interface for a concrete class.
The properties are overridden in the order they are defined.
The last property id.
The class structure for a #GObject derived class.
The property id to assign to the first overridden property.
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link> D-Bus interface.
A #GDBusInterfaceInfo. Do not free.
Overrides all #GObject properties in the #GClueManager interface for a concrete class.
The properties are overridden in the order they are defined.
The last property id.
The class structure for a #GObject derived class.
The property id to assign to the first overridden property.