Persona
Object Hierarchy:
Description:
public class Persona : Persona, AvatarDetails, BirthdayDetails, EmailDetails, FavouriteDetails, GenderDetails, GroupDetails, ImDetails, LocalIdDetails, NameDetails, NoteDetails, PhoneDetails, RoleDetails, UrlDetails, PostalAddressDetails, WebServiceDetails
A persona subclass which represents a single EDS contact.
Namespace: Edsf
Package: folks-eds
Content:
Constants:
- public const weak unowned
string[] phone_fields
- public const weak unowned
string[] address_fields
- public const weak unowned
string[] email_fields
- public const weak unowned
string[] url_properties
- 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 set; 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 Personas.
- 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 set; 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.
Creation methods:
Methods:
- public async void change_web_service_addresses (
MultiMap<string,WebServiceFieldDetails> web_service_addresses) throws PropertyError
- public async void change_local_ids (
Set<string> local_ids) throws PropertyError
- public async void change_postal_addresses (
Set<PostalAddressFieldDetails> postal_addresses) throws PropertyError
- public async void change_phone_numbers (
Set<PhoneFieldDetails> phone_numbers) throws PropertyError
- public async void change_email_addresses (
Set<EmailFieldDetails> email_addresses) throws PropertyError
- public async void change_notes (
Set<NoteFieldDetails> notes) throws PropertyError
- public async void change_avatar (
LoadableIcon? avatar) throws PropertyError
- public async void change_structured_name (
StructuredName? structured_name) throws PropertyError
- public async void change_full_name (
string full_name) throws PropertyError
- public async void change_nickname (
string nickname) throws PropertyError
- public async void change_gender (
Gender gender) throws PropertyError
- public async void change_urls (
Set<UrlFieldDetails> urls) throws PropertyError
- public async void change_im_addresses (
MultiMap<string,ImFieldDetails> im_addresses) throws PropertyError
- public async void change_group (
string group, bool is_member) throws Error
- public async void change_groups (
Set<string> groups) throws PropertyError
- public async void change_birthday (
DateTime? bday) throws PropertyError
- public async void change_roles (
Set<RoleFieldDetails> roles) throws PropertyError
- public async void change_is_favourite (
bool is_favourite) throws PropertyError
- public override void linkable_property_to_links (
string prop_name, LinkablePropertyCallback callback)