ClientProxy
Object Hierarchy:
Description:
[
CCode ( type_id =
"gclue_client_proxy_get_type ()" ) ]
public class ClientProxy :
DBusProxy,
Client,
AsyncInitable,
DBusInterface,
Initable
The ClientProxy structure contains only private data and should only be accessed using the provided API.
Content:
Static methods:
- public static async ClientProxy create (string desktop_id, AccuracyLevel accuracy_level, Cancellable? cancellable) throws Error
A utility function to create a ClientProxy
without having to deal with a Manager.
- public static async ClientProxy create_full (string desktop_id, AccuracyLevel accuracy_level, ClientProxyCreateFlags flags, Cancellable? cancellable) throws Error
A utility function to create a ClientProxy
without having to deal with a Manager.
- public static ClientProxy create_full_sync (string desktop_id, AccuracyLevel accuracy_level, ClientProxyCreateFlags flags, Cancellable? cancellable = null) throws Error
- public static ClientProxy create_sync (string desktop_id, AccuracyLevel accuracy_level, Cancellable? cancellable = null) throws Error
The synchronous and blocking version of
create().
Creation methods:
- public async ClientProxy (DBusConnection connection, DBusProxyFlags flags, string? name, string object_path, Cancellable? cancellable) throws Error
Asynchronously creates a proxy for the D-Bus interface <link
linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.
- public async ClientProxy.for_bus (BusType bus_type, DBusProxyFlags flags, string name, string object_path, Cancellable? cancellable) throws Error
Like
ClientProxy but takes a BusType
instead of a DBusConnection.
- public ClientProxy.for_bus_sync (BusType bus_type, DBusProxyFlags flags, string name, string object_path, Cancellable? cancellable = null) throws Error
- public ClientProxy.sync (DBusConnection connection, DBusProxyFlags flags, string? name, string object_path, Cancellable? cancellable = null) throws Error
Synchronously creates a proxy for the D-Bus interface <link
linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.
Inherited Members:
All known members inherited from class GLib.DBusProxy
- @new
- call
- call_sync
- call_with_unix_fd_list
- call_with_unix_fd_list_sync
- create_for_bus
- g_bus_type
- g_connection
- g_default_timeout
- g_flags
- g_interface_info
- g_interface_name
- g_name
- g_name_owner
- g_object_path
- g_properties_changed
- g_signal
- get_cached_property
- get_cached_property_names
- get_connection
- get_default_timeout
- get_flags
- get_interface_info
- get_interface_name
- get_name
- get_name_owner
- get_object_path
- set_cached_property
- set_default_timeout
- set_interface_info
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GClue.Client
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.DBusInterface
All known members inherited from interface GLib.Initable