EDataBook.BookCacheSearchData¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| extra | str | r/w | Any extra data associated with the vcard | 
| uid | str | r/w | The EBookContacts.ContactField.UIDfield of this contact | 
| vcard | str | r/w | The vcard string | 
Details¶
- 
class EDataBook.BookCacheSearchData¶
- This structure is used to represent contacts returned by the - EDataBook.BookCachefrom various functions such as- EDataBook.BookCache.search().- The extra parameter will contain any data which was previously passed for this contact in - EDataBook.BookCache.put_contact() or set with- EDataBook.BookCache.set_contact_extra().- These should be freed with - EDataBook.BookCacheSearchData.free().- New in version 3.26. - 
classmethod free(data)¶
- Parameters: - data ( - objector- None) – an- EDataBook.BookCacheSearchData- Frees the data structure, previously allocated with - EDataBook.BookCacheSearchData.new() or- EDataBook.BookCacheSearchData.copy().- New in version 3.26. 
 - 
classmethod new(uid, vcard, extra)¶
- Parameters: - Returns: - A new - EDataBook.BookCacheSearchData. Free it with- EDataBook.BookCacheSearchData.free() when no longer needed.- Return type: - Creates a new - EDataBook.BookCacheSearchDataprefilled with the given values.- New in version 3.26. 
 - 
copy()¶
- Returns: - Copy of the given self. Free it with - EDataBook.BookCacheSearchData.free() when no longer needed. If the self is- None, then returns- Noneas well.- Return type: - EDataBook.BookCacheSearchData- New in version 3.26. 
 
- 
classmethod