get_contact


Description:

[ Version ( since = "3.10" ) ]
public async Contact get_contact (string uid, Cancellable? cancellable) throws Error

Asynchronously obtains an Contact for uid.

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

Parameters:

this

an BookBackend

uid

a contact ID

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