|  |  |  | telepathy-glib API Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#include <telepathy-glib/telepathy-glib.h> struct TpContactSearchResult; struct TpContactSearchResultClass; TpContactInfoField * tp_contact_search_result_get_field (TpContactSearchResult *self,const gchar *field); GList * tp_contact_search_result_get_fields (TpContactSearchResult *self); GList * tp_contact_search_result_dup_fields (TpContactSearchResult *self); const gchar * tp_contact_search_result_get_identifier (TpContactSearchResult *self);
struct TpContactSearchResult;
An object representing the results of a Telepathy contact search channel. There are no interesting public struct fields.
Since 0.13.11
struct TpContactSearchResultClass {
};
The class of a TpContactSearchResult.
Since 0.13.11
TpContactInfoField * tp_contact_search_result_get_field (TpContactSearchResult *self,const gchar *field);
| 
 | a TpContactSearchResult | 
| 
 | the name of the field | 
| Returns : | the specified field, or NULLif the
result doesn't have it. [transfer none] | 
Since 0.13.11
GList *             tp_contact_search_result_get_fields (TpContactSearchResult *self);
tp_contact_search_result_get_fields is deprecated and should not be used in newly-written code. Since 0.19.9. New code should use
 tp_contact_search_result_dup_fields() instead.
| 
 | a search result | 
| Returns : | a GList of TpContactInfoField for the specified contact. You should free
it when you're done with g_list_free(). [transfer container][element-type TelepathyGLib.ContactInfoField] | 
GList *             tp_contact_search_result_dup_fields (TpContactSearchResult *self);
| 
 | a search result | 
| Returns : | a GList of TpContactInfoField for the specified contact. You should free
it when you're done with tp_contact_info_list_free(). [transfer full][element-type TelepathyGLib.ContactInfoField] | 
Since 0.19.9
const gchar *       tp_contact_search_result_get_identifier
                                                        (TpContactSearchResult *self);
| 
 | a TpContactSearchResult | 
| Returns : | the contact identifier. | 
Since 0.13.11
"identifier" property"identifier" gchar* : Read / Write / Construct Only
The contact identifier.
Default value: NULL