Top |
GInterface ╰── GClueManager GObject ╰── GDBusInterfaceSkeleton ╰── GClueManagerSkeleton
GDBusInterfaceInfo *
gclue_manager_interface_info (void
);
Gets a machine-readable description of the org.freedesktop.GeoClue2.Manager D-Bus interface.
guint gclue_manager_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the GClueManager interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
void gclue_manager_call_get_client (GClueManager *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetClient()
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.
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.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean gclue_manager_call_get_client_finish (GClueManager *proxy
,gchar **out_client
,GAsyncResult *res
,GError **error
);
Finishes an operation started with gclue_manager_call_get_client()
.
proxy |
||
out_client |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean gclue_manager_call_get_client_sync (GClueManager *proxy
,gchar **out_client
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetClient()
proxy
. The calling thread is blocked until a reply is received.
See gclue_manager_call_get_client()
for the asynchronous version of this method.
proxy |
||
out_client |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void gclue_manager_call_add_agent (GClueManager *proxy
,const gchar *arg_id
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the AddAgent()
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.
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.
proxy |
||
arg_id |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean gclue_manager_call_add_agent_finish (GClueManager *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with gclue_manager_call_add_agent()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean gclue_manager_call_add_agent_sync (GClueManager *proxy
,const gchar *arg_id
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the AddAgent()
proxy
. The calling thread is blocked until a reply is received.
See gclue_manager_call_add_agent()
for the asynchronous version of this method.
proxy |
||
arg_id |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
gboolean
gclue_manager_get_in_use (GClueManager *object
);
Gets the value of the "InUse" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void gclue_manager_set_in_use (GClueManager *object
,gboolean value
);
Sets the "InUse" 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.
[skip]
guint
gclue_manager_get_available_accuracy_level
(GClueManager *object
);
Gets the value of the "AvailableAccuracyLevel" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void gclue_manager_set_available_accuracy_level (GClueManager *object
,guint value
);
Sets the "AvailableAccuracyLevel" 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.
[skip]
“available-accuracy-level”
property“available-accuracy-level” guint
Represents the D-Bus property "AvailableAccuracyLevel".
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.
Flags: Read / Write
Default value: 0
“in-use”
property“in-use” gboolean
Represents the D-Bus property "InUse".
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.
Flags: Read / Write
Default value: FALSE
“handle-add-agent”
signalgboolean user_function (GClueManager *object, GDBusMethodInvocation *invocation, gchar *arg_id, gpointer user_data)
Signal emitted when a remote caller is invoking the AddAgent()
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 order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A GClueManager. |
|
invocation |
||
arg_id |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-create-client”
signalgboolean user_function (GClueManager *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the CreateClient()
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 order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A GClueManager. |
|
invocation |
||
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-delete-client”
signalgboolean user_function (GClueManager *object, GDBusMethodInvocation *invocation, gchar *arg_client, gpointer user_data)
Signal emitted when a remote caller is invoking the DeleteClient()
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 order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A GClueManager. |
|
invocation |
||
arg_client |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-get-client”
signalgboolean user_function (GClueManager *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the GetClient()
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 order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A GClueManager. |
|
invocation |
||
user_data |
user data set when the signal handler was connected. |
Flags: Run Last