connect_direct_sync
Description:
[ Version ( since = "3.8" ) ]
public static BookClient connect_direct_sync (SourceRegistry registry, Source source, uint32 wait_for_connected_seconds, Cancellable? cancellable = null) throws Error
public static BookClient connect_direct_sync (SourceRegistry registry, Source source, uint32 wait_for_connected_seconds, Cancellable? cancellable = null) throws Error
Like connect_sync, except creates the book client for direct read access to the underlying addressbook.
Parameters:
registry | |
source |
an Source |
wait_for_connected_seconds |
timeout, in seconds, to wait for the backend to be fully connected |
cancellable |
optional Cancellable object, or |
Returns:
a new but unopened BookClient or |