[ Version ( since = "3.34" ) ]
public Contact get_contact (string uid, Cancellable? cancellable = null) throws Error
Obtains an Contact for uid.
The returned Contact is referenced for thread-safety and must be unreferenced with unref when finished with it.
If an error occurs, the function will set throws and return null.
| this | |
| uid |
a contact ID |
| cancellable |
optional Cancellable object, or null |
|
an Contact, or null on error |