TelepathyGLib.ContactSearchResult

g GObject.Object GObject.Object TelepathyGLib.ContactSearchResult TelepathyGLib.ContactSearchResult GObject.Object->TelepathyGLib.ContactSearchResult

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

dup_fields ()

get_field (field)

get_fields ()

get_identifier ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

identifier

str

r/w/co

The contact identifier

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class TelepathyGLib.ContactSearchResult(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

TelepathyGLib.ContactSearchResultClass

An object representing the results of a Telepathy contact search channel. There are no interesting public struct fields.

New in version 0.13.11.

dup_fields()
Returns:

a GLib.List of TelepathyGLib.ContactInfoField for the specified contact. You should free it when you’re done with tp_contact_info_list_free().

Return type:

[TelepathyGLib.ContactInfoField]

New in version 0.19.9.

get_field(field)
Parameters:

field (str) – the name of the field

Returns:

the specified field, or None if the result doesn’t have it.

Return type:

TelepathyGLib.ContactInfoField

New in version 0.13.11.

get_fields()
Returns:

a GLib.List of TelepathyGLib.ContactInfoField for the specified contact. You should free it when you’re done with g_list_free().

Return type:

[TelepathyGLib.ContactInfoField]

Deprecated since version 0.19.9: New code should use TelepathyGLib.ContactSearchResult.dup_fields() instead.

get_identifier()
Returns:

the contact identifier.

Return type:

str

New in version 0.13.11.

Property Details

TelepathyGLib.ContactSearchResult.props.identifier
Name:

identifier

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The contact identifier