![]() |
![]() |
![]() |
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
); 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 NULL if the
result doesn't have it. [transfer none]
|
Since 0.13.11
GList * tp_contact_search_result_get_fields (TpContactSearchResult *self
);
|
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]
|
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