[ CCode ( has_construct_function = false , type = "UDisksPartition*" ) ]
public PartitionProxy.sync (DBusConnection connection, DBusProxyFlags flags, string? name, string object_path, Cancellable? cancellable = null) throws Error
Synchronously creates a proxy for the D-Bus interface org.freedesktop.UDisks2.Partition.
See DBusProxy.sync for more details.
The calling thread is blocked until a reply is received.
See PartitionProxy for the asynchronous version of this constructor.
connection |
A DBusConnection. |
flags |
Flags from the DBusProxyFlags enumeration. |
name |
A bus name (well-known or unique) or |
object_path |
An object path. |
cancellable |
A Cancellable or |
The constructed proxy object or |