[ Version ( since = "3.34" ) ]
public bool create_contacts (string vcards, uint32 opflags, out SList<Contact> out_contacts, Cancellable? cancellable = null) throws Error
Creates one or more new contacts from vcards, and deposits an
Contact instance for each newly-created contact in out_contacts
.
The returned Contact instances are referenced for thread-safety and must be unreferenced with unref when finished with them.
If an error occurs, the function will set throws and return false.
| this | |
| vcards |
a null-terminated array of vCard strings |
| opflags |
bit-or of BookOperationFlags |
| out_contacts |
a SList in which to deposit results |
| cancellable |
optional Cancellable object, or null |
|
true on success, false on failure |