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
- 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
All known members inherited from class GLib.Object
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