Method
PhoshGeoClueDBusOrgFreedesktopGeoClue2Agentcall_authorize_app
Declaration [src]
void
phosh_geo_clue_dbus_org_freedesktop_geo_clue2_agent_call_authorize_app (
PhoshGeoClueDBusOrgFreedesktopGeoClue2Agent* proxy,
const gchar* arg_desktop_id,
guint arg_req_accuracy_level,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously invokes the AuthorizeApp() 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 phosh_geo_clue_dbus_org_freedesktop_geo_clue2_agent_call_authorize_app_finish()
to get the result of the operation.
See phosh_geo_clue_dbus_org_freedesktop_geo_clue2_agent_call_authorize_app_sync()
for the synchronous, blocking version of this method.
Parameters
arg_desktop_id |
const gchar* |
Argument to pass with the method invocation. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
arg_req_accuracy_level |
guint |
Argument to pass with the method invocation. |
|
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
User data to pass to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |