TodoProxy.for_bus_sync
Description:
[ CCode ( has_construct_function = false , type = "GoaTodo*" ) ]
[ Version ( deprecated = true , since = "3.26.0" ) ]
public TodoProxy.for_bus_sync (BusType bus_type, DBusProxyFlags flags, string name, string object_path, Cancellable? cancellable = null) throws Error
Warning: TodoProxy.for_bus_sync is deprecated.
Like TodoProxy.sync but takes a BusType
instead of a DBusConnection.
Note:
The D-Bus interface has been deprecated.
The calling thread is blocked until a reply is received.
See TodoProxy.for_bus for the asynchronous version of this
constructor.
Parameters:
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 null .
|
Returns:
The constructed proxy object or null if error is set.
|