TelepathyGLib.ContactInfoFieldSpec

Fields

Name

Type

Access

Description

flags

TelepathyGLib.ContactInfoFieldFlags

r/w

Flags describing the behaviour of this field.

max

int

r/w

Maximum number of instances of this field which may be set. GObject.G_MAXUINT32 is used to indicate that there is no limit.

name

str

r/w

The name of the field; this is the lowercased name of a vCard field. For example, a field representing a contact’s address would be named “adr”.

parameters

[str]

r/w

The set of vCard type parameters which may be set on this field. If this list is empty and the TelepathyGLib.ContactInfoFieldFlags.PARAMETERS_EXACT flag is not set, any vCard type parameters may be used. The type parameter names, and any values that are case-insensitive in vCard, MUST be in lower case. For example, a contact’s preferred home address would have parameters ‘type=home’ and ‘type=pref’.

priv

object

r

Methods

None

Details

class TelepathyGLib.ContactInfoFieldSpec

A struct describing a vCard field.

New in version 0.11.7.