Persona
Object Hierarchy:
Description:
public class Persona : Persona, AntiLinkable, AvatarDetails, BirthdayDetails, EmailDetails, ExtendedInfo, FavouriteDetails, GenderDetails, GroupDetails, ImDetails, LocalIdDetails, LocationDetails, NameDetails, NoteDetails, PhoneDetails, RoleDetails, UrlDetails, PostalAddressDetails, WebServiceDetails
A persona subclass which represents a single EDS contact.
Each Edsf.Persona instance represents a single EDS E.Contact. When the contact is
modified (either by this folks client, or a different client), the Edsf.Persona remains the same, but is
assigned a new E.Contact. It then updates its properties from this new contact.
Content:
Constants:
- public const unowned (unowned string)[] phone_fields
vCard field names for telephone numbers.
- public const unowned (unowned string)[] address_fields
vCard field names for postal addresses.
- public const unowned (unowned string)[] email_fields
vCard field names for e-mail addresses.
- public const unowned (unowned string)[] url_properties
vCard field names for miscellaneous URIs.
- public const unowned string folks_field_attribute_name
Name of folks’ custom parameter indicating automatic fields
- public const unowned string gender_attribute_name
The vCard attribute used to specify a Contact's gender
- public const unowned string gender_male
The value used to define the male gender for the X-GENDER vCard
property.
- public const unowned string gender_female
The value used to define the female gender for the X-GENDER vCard
property.
Properties:
- public Contact contact { construct; get; }
The e-d-s contact represented by this Persona
- public MultiMap<string,WebServiceFieldDetails> web_service_addresses { set; get; }
- public Set<string> local_ids { set; get; }
IDs used to link Edsf.Personas.
- public Location? location { set; get; }
- public Set<PostalAddressFieldDetails> postal_addresses { set; get; }
The postal addresses of the contact.
- public Set<PhoneFieldDetails> phone_numbers { set; get; }
- public Set<EmailFieldDetails> email_addresses { set; get; }
- public Set<NoteFieldDetails> notes { set; get; }
- public override string[] linkable_properties { get; }
- public override string[] writeable_properties { get; }
- public LoadableIcon? avatar { set; get; }
An avatar for the Persona.
- public StructuredName? structured_name { set; get; }
- public string contact_id { construct; get; }
The e-d-s contact uid
- public string full_name { set; get; }
- public string nickname { set; get; }
- public Gender gender { set; get; }
- public Set<UrlFieldDetails> urls { set; get; }
- public MultiMap<string,ImFieldDetails> im_addresses { set; get; }
- public Set<string> groups { set; get; }
- public string? calendar_event_id { set; get; }
- public DateTime? birthday { set; get; }
- public Set<RoleFieldDetails> roles { set; get; }
- public bool is_favourite { set; get; }
Whether this contact is a user-defined favourite.
- public Set<string> anti_links { set; get; }
- public Set<string>? system_groups { set; get; }
- public bool in_google_personal_group { set; get; }
Whether this contact is in the “My Contacts” section of the
user’s address book, rather than the “Other” section.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class Folks.Persona
- display_id
- iid
- individual
- is_user
- linkable_properties
- store
- uid
- writeable_properties
- LinkablePropertyCallback
- build_uid
- split_uid
- linkable_property_to_links
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count
All known members inherited from interface Folks.AntiLinkable
- anti_links
- add_anti_links
- add_global_anti_link
- change_anti_links
- has_anti_link_with_persona
- has_global_anti_link
- remove_anti_links
- remove_global_anti_link
All known members inherited from interface Folks.AvatarDetails
All known members inherited from interface Folks.BirthdayDetails
- birthday
- calendar_event_id
All known members inherited from interface Folks.EmailDetails
All known members inherited from interface Folks.ExtendedInfo
All known members inherited from interface Folks.FavouriteDetails
All known members inherited from interface Folks.GenderDetails
All known members inherited from interface Folks.GroupDetails
All known members inherited from interface Folks.ImDetails
All known members inherited from interface Folks.LocalIdDetails
All known members inherited from interface Folks.LocationDetails
All known members inherited from interface Folks.NameDetails
- structured_name
- change_full_name
- change_nickname
- change_structured_name
All known members inherited from interface Folks.NoteDetails
All known members inherited from interface Folks.PhoneDetails
All known members inherited from interface Folks.RoleDetails
All known members inherited from interface Folks.UrlDetails
All known members inherited from interface Folks.PostalAddressDetails
All known members inherited from interface Folks.WebServiceDetails
- change_web_service_addresses