TpContactSearchResult

TpContactSearchResult — a result of a contact search

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);

Object Hierarchy

  GObject
   +----TpContactSearchResult

Properties

  "identifier"               gchar*                : Read / Write / Construct Only

Description

TpContactSearchResult objects represent results for TpContactSearch.

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);

self :

a TpContactSearchResult

field :

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.

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]

tp_contact_search_result_dup_fields ()

GList *             tp_contact_search_result_dup_fields (TpContactSearchResult *self);

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);

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

See Also

TpContactSearch