GdbusObjectManagerClient.sync
Description:
[ CCode ( has_construct_function = false , type = "GDBusObjectManager*" ) ]
public GdbusObjectManagerClient.sync (DBusConnection connection, DBusObjectManagerClientFlags flags, string? name, string object_path, Cancellable? cancellable = null) throws Error
public GdbusObjectManagerClient.sync (DBusConnection connection, DBusObjectManagerClientFlags flags, string? name, string object_path, Cancellable? cancellable = null) throws Error
Synchronously creates DBusObjectManagerClient using get_proxy_type as the DBusProxyTypeFunc.
See DBusObjectManagerClient.sync for more details.
The calling thread is blocked until a reply is received.
See GdbusObjectManagerClient for the asynchronous version of this constructor.
Parameters:
connection | |
flags |
Flags from the DBusObjectManagerClientFlags enumeration. |
name |
A bus name (well-known or unique) or |
object_path |
An object path. |
cancellable |
A Cancellable or |
Returns:
The constructed object manager client or |