connect_direct


Description:

[ Version ( since = "3.12" ) ]
public static async BookClient connect_direct (Source source, uint32 wait_for_connected_seconds, Cancellable? cancellable) throws Error

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

When the operation is finished, callback will be called. You can then call connect_direct.end to get the result of the operation.

Parameters:

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

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function