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

Like connect_sync, except creates the book client for direct read access to the underlying addressbook.

Parameters:

registry

an SourceRegistry

source

an Source

wait_for_connected_seconds

timeout, in seconds, to wait for the backend to be fully connected

cancellable

optional Cancellable object, or null

Returns:

a new but unopened BookClient or null on error.




2022 vala-language.org