telepathy-glib API Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
#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
);
Details
struct TpContactSearchResult
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
struct TpContactSearchResultClass { };
The class of a TpContactSearchResult.
Since 0.13.11
tp_contact_search_result_get_field ()
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
tp_contact_search_result_get_fields ()
GList * tp_contact_search_result_get_fields (TpContactSearchResult *self
);
Warning
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]
|
tp_contact_search_result_dup_fields ()
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
tp_contact_search_result_get_identifier ()
const gchar * tp_contact_search_result_get_identifier
(TpContactSearchResult *self
);
|
a TpContactSearchResult |
Returns : |
the contact identifier. |
Since 0.13.11
Property Details
The "identifier"
property
"identifier" gchar* : Read / Write / Construct Only
The contact identifier.
Default value: NULL