[ CCode ( has_construct_function = false , type = "MmGdbusModemSimple*" ) ]
public GdbusModemSimpleProxy.for_bus_sync (BusType bus_type, DBusProxyFlags flags, string name, string object_path, Cancellable? cancellable = null) throws Error
Like GdbusModemSimpleProxy.sync but takes a BusType instead of a DBusConnection.
The calling thread is blocked until a reply is received.
See GdbusModemSimpleProxy.for_bus for the asynchronous version of this constructor.
bus_type |
A BusType. |
flags |
Flags from the DBusProxyFlags enumeration. |
name |
A bus name (well-known or unique). |
object_path |
An object path. |
cancellable |
A Cancellable or |
The constructed proxy object or |