Top |
GDBusInterfaceInfo * | gclue_manager_interface_info () |
guint | gclue_manager_override_properties () |
void | gclue_manager_call_get_client () |
gboolean | gclue_manager_call_get_client_finish () |
gboolean | gclue_manager_call_get_client_sync () |
void | gclue_manager_call_add_agent () |
gboolean | gclue_manager_call_add_agent_finish () |
gboolean | gclue_manager_call_add_agent_sync () |
gboolean | gclue_manager_get_in_use () |
void | gclue_manager_set_in_use () |
guint | gclue_manager_get_available_accuracy_level () |
void | gclue_manager_set_available_accuracy_level () |
gboolean | handle-add-agent | Run Last |
gboolean | handle-create-client | Run Last |
gboolean | handle-delete-client | Run Last |
gboolean | handle-get-client | Run Last |
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.
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 (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.
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][optional] |
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.
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 (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.
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.
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.
Owner: GClueManager
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.
Owner: GClueManager
Flags: Read / Write
Default value: FALSE
“handle-add-agent”
signalgboolean user_function (GClueManager *object, GDBusMethodInvocation *invocation, char *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 other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A GClueManager. |
|
invocation |
A GDBusMethodInvocation. |
|
arg_id |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
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.
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 other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A GClueManager. |
|
invocation |
A GDBusMethodInvocation. |
|
user_data |
user data set when the signal handler was connected. |
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.
Flags: Run Last
“handle-delete-client”
signalgboolean user_function (GClueManager *object, GDBusMethodInvocation *invocation, char *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 other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A GClueManager. |
|
invocation |
A GDBusMethodInvocation. |
|
arg_client |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
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.
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 other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A GClueManager. |
|
invocation |
A GDBusMethodInvocation. |
|
user_data |
user data set when the signal handler was connected. |
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.
Flags: Run Last