DocumentsProxy.sync
Description:
[
CCode ( has_construct_function =
false , type =
"GoaDocuments*" ) ]
[
Version ( deprecated =
true ) ]
public DocumentsProxy.sync (
DBusConnection connection,
DBusProxyFlags flags,
string? name,
string object_path,
Cancellable? cancellable =
null)
throws Error
Warning: DocumentsProxy.sync is deprecated.
Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-gnome-OnlineAccounts-Documents.
Note:
The D-Bus interface has been deprecated.
top_of_page">org.gnome.OnlineAccounts.Documents</link>. See
DBusProxy.sync for more details.
The calling thread is blocked until a reply is received.
See DocumentsProxy for the asynchronous version of this
constructor.
Parameters:
| connection |
A DBusConnection.
|
| flags |
Flags from the DBusProxyFlags enumeration.
|
| name |
A bus name (well-known or unique) or null if connection is not a message bus
connection.
|
| object_path |
An object path.
|
| cancellable |
A Cancellable or null.
|
Returns:
|
The constructed proxy object or null if throws is set.
|