Liblinphone
3.11.1
|
Macros | |
#define | LINPHONE_VCARD BELLE_SIP_CAST(object, LinphoneVcard) |
Typedefs | |
typedef struct _LinphoneVcard | LinphoneVcard |
#define LINPHONE_VCARD BELLE_SIP_CAST(object, LinphoneVcard) |
Cast a belle_sip_object_t into LinphoneVcard.
typedef struct _LinphoneVcard LinphoneVcard |
The LinphoneVcard object.
void linphone_vcard_add_phone_number | ( | LinphoneVcard * | vCard, |
const char * | phone | ||
) |
Adds a phone number in the vCard, using the TEL property
[in] | vCard | the LinphoneVcard |
[in] | phone | the phone number to add |
void linphone_vcard_add_sip_address | ( | LinphoneVcard * | vCard, |
const char * | sip_address | ||
) |
Adds a SIP address in the vCard, using the IMPP property
[in] | vCard | the LinphoneVcard |
[in] | sip_address | the SIP address to add |
const char* linphone_vcard_as_vcard4_string | ( | LinphoneVcard * | vCard | ) |
Returns the vCard4 representation of the LinphoneVcard.
[in] | vCard | the LinphoneVcard |
void linphone_vcard_edit_main_sip_address | ( | LinphoneVcard * | vCard, |
const char * | sip_address | ||
) |
Edits the preferred SIP address in the vCard (or the first one), using the IMPP property
[in] | vCard | the LinphoneVcard |
[in] | sip_address | the new SIP address |
LINPHONE_DEPRECATED void linphone_vcard_free | ( | LinphoneVcard * | vCard | ) |
Deletes a LinphoneVcard object properly
[in] | vCard | the LinphoneVcard to destroy |
bool_t linphone_vcard_generate_unique_id | ( | LinphoneVcard * | vCard | ) |
Generates a random unique id for the vCard. If is required to be able to synchronize the vCard with a CardDAV server
[in] | vCard | the LinphoneVcard |
const char* linphone_vcard_get_etag | ( | const LinphoneVcard * | vCard | ) |
Gets the eTag of the vCard
[in] | vCard | the LinphoneVcard |
const char* linphone_vcard_get_family_name | ( | const LinphoneVcard * | vCard | ) |
Returns the family name in the N attribute of the vCard, or NULL if it isn't set yet.
[in] | vCard | the LinphoneVcard |
const char* linphone_vcard_get_full_name | ( | const LinphoneVcard * | vCard | ) |
Returns the FN attribute of the vCard, or NULL if it isn't set yet.
[in] | vCard | the LinphoneVcard |
const char* linphone_vcard_get_given_name | ( | const LinphoneVcard * | vCard | ) |
Returns the given name in the N attribute of the vCard, or NULL if it isn't set yet.
[in] | vCard | the LinphoneVcard |
const char* linphone_vcard_get_organization | ( | const LinphoneVcard * | vCard | ) |
Gets the Organization of the vCard
[in] | vCard | the LinphoneVcard |
bctbx_list_t* linphone_vcard_get_phone_numbers | ( | const LinphoneVcard * | vCard | ) |
Returns the list of phone numbers (as string) in the vCard (all the TEL attributes) or NULL
[in] | vCard | the LinphoneVcard |
const bctbx_list_t* linphone_vcard_get_sip_addresses | ( | LinphoneVcard * | vCard | ) |
Returns the list of SIP addresses (as LinphoneAddress) in the vCard (all the IMPP attributes that has an URI value starting by "sip:") or NULL
[in] | vCard | the LinphoneVcard |
bool_t linphone_vcard_get_skip_validation | ( | const LinphoneVcard * | vCard | ) |
Returns the skipFieldValidation property of the vcard.
[in] | vCard | the LinphoneVcard |
const char* linphone_vcard_get_uid | ( | const LinphoneVcard * | vCard | ) |
Gets the UID of the vCard
[in] | vCard | the LinphoneVcard |
const char* linphone_vcard_get_url | ( | const LinphoneVcard * | vCard | ) |
Gets the URL of the vCard
[in] | vCard | the LinphoneVcard |
LINPHONE_DEPRECATED LinphoneVcard* linphone_vcard_new | ( | void | ) |
Creates a LinphoneVcard object that has a pointer to an empty vCard
LinphoneVcard* linphone_vcard_ref | ( | LinphoneVcard * | vCard | ) |
Take a ref on a LinphoneVcard.
[in] | vCard | LinphoneVcard object |
void linphone_vcard_remove_phone_number | ( | LinphoneVcard * | vCard, |
const char * | phone | ||
) |
Removes a phone number in the vCard (if it exists), using the TEL property
[in] | vCard | the LinphoneVcard |
[in] | phone | the phone number to remove |
void linphone_vcard_remove_sip_address | ( | LinphoneVcard * | vCard, |
const char * | sip_address | ||
) |
Removes a SIP address in the vCard (if it exists), using the IMPP property
[in] | vCard | the LinphoneVcard |
[in] | sip_address | the SIP address to remove |
void linphone_vcard_set_etag | ( | LinphoneVcard * | vCard, |
const char * | etag | ||
) |
Sets the eTAG of the vCard
[in] | vCard | the LinphoneVcard |
[in] | etag | the eTAG |
void linphone_vcard_set_family_name | ( | LinphoneVcard * | vCard, |
const char * | name | ||
) |
Sets the family name in the N attribute of the vCard.
[in] | vCard | the LinphoneVcard |
[in] | name | the family name to set for the vCard |
void linphone_vcard_set_full_name | ( | LinphoneVcard * | vCard, |
const char * | name | ||
) |
Sets the FN attribute of the vCard (which is mandatory).
[in] | vCard | the LinphoneVcard |
[in] | name | the display name to set for the vCard |
void linphone_vcard_set_given_name | ( | LinphoneVcard * | vCard, |
const char * | name | ||
) |
Sets the given name in the N attribute of the vCard.
[in] | vCard | the LinphoneVcard |
[in] | name | the given name to set for the vCard |
void linphone_vcard_set_organization | ( | LinphoneVcard * | vCard, |
const char * | organization | ||
) |
Fills the Organization field of the vCard
[in] | vCard | the LinphoneVcard |
[in] | organization | the Organization |
void linphone_vcard_set_skip_validation | ( | LinphoneVcard * | vCard, |
bool_t | skip | ||
) |
Sets the skipFieldValidation property of the vcard
[in] | vCard | the LinphoneVcard |
[in] | skip | skipFieldValidation property of the vcard |
void linphone_vcard_set_uid | ( | LinphoneVcard * | vCard, |
const char * | uid | ||
) |
Sets the unique ID of the vCard
[in] | vCard | the LinphoneVcard |
[in] | uid | the unique id |
void linphone_vcard_set_url | ( | LinphoneVcard * | vCard, |
const char * | url | ||
) |
Sets the URL of the vCard
[in] | vCard | the LinphoneVcard |
[in] | url | the URL |
void linphone_vcard_unref | ( | LinphoneVcard * | vCard | ) |
Release a LinphoneVcard.
[in] | vCard | LinphoneVcard object |