|
| typedef struct _LinphoneMagicSearch | LinphoneMagicSearch |
| |
| typedef struct _LinphoneMagicSearchCbs | LinphoneMagicSearchCbs |
| |
|
typedef struct _LinphoneSearchResult | LinphoneSearchResult |
| |
|
typedef struct _LinphoneCardDavParams | LinphoneCardDavParams |
| |
|
typedef struct _LinphoneRemoteContactDirectory | LinphoneRemoteContactDirectory |
| |
|
typedef struct _LinphoneFriendPhoneNumber | LinphoneFriendPhoneNumber |
| |
|
typedef struct _LinphoneFriendDevice | LinphoneFriendDevice |
| |
|
| LinphoneRemoteContactDirectory * | linphone_core_create_card_dav_remote_contact_directory (LinphoneCore *core, LinphoneCardDavParams *params) |
| |
| LinphoneRemoteContactDirectory * | linphone_core_create_ldap_remote_contact_directory (LinphoneCore *core, LinphoneLdapParams *params) |
| |
| void | linphone_core_add_remote_contact_directory (LinphoneCore *core, LinphoneRemoteContactDirectory *remoteContactDirectory) |
| |
| void | linphone_core_remove_remote_contact_directory (LinphoneCore *core, LinphoneRemoteContactDirectory *remoteContactDirectory) |
| |
| bctbx_list_t * | linphone_core_get_remote_contact_directories (LinphoneCore *core) |
| |
| LinphoneCardDavParams * | linphone_core_create_card_dav_params (LinphoneCore *core) |
| |
| LinphoneVcard * | linphone_core_create_vcard_from_text (const LinphoneCore *core, const char *input) |
| |
| LinphoneCardDavParams * | linphone_card_dav_params_clone (const LinphoneCardDavParams *params) |
| |
| LinphoneCardDavParams * | linphone_card_dav_params_ref (LinphoneCardDavParams *params) |
| |
| void | linphone_card_dav_params_unref (LinphoneCardDavParams *params) |
| |
| bctbx_list_t * | linphone_card_dav_params_get_user_input_fields (const LinphoneCardDavParams *params) |
| |
| void | linphone_card_dav_params_set_user_input_fields (LinphoneCardDavParams *params, bctbx_list_t *list) |
| |
| bctbx_list_t * | linphone_card_dav_params_get_domain_fields (const LinphoneCardDavParams *params) |
| |
| void | linphone_card_dav_params_set_domain_fields (LinphoneCardDavParams *params, const bctbx_list_t *list) |
| |
| bool_t | linphone_card_dav_params_get_use_exact_match_policy (const LinphoneCardDavParams *params) |
| |
| void | linphone_card_dav_params_set_use_exact_match_policy (LinphoneCardDavParams *params, bool_t exact_match) |
| |
| LinphoneRemoteContactDirectory * | linphone_remote_contact_directory_ref (LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| void | linphone_remote_contact_directory_unref (LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| void | linphone_remote_contact_directory_enable (LinphoneRemoteContactDirectory *remote_contact_directory, bool_t value) |
| |
| bool_t | linphone_remote_contact_directory_enabled (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| LinphoneRemoteContactDirectoryType | linphone_remote_contact_directory_get_type (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| LinphoneCardDavParams * | linphone_remote_contact_directory_get_card_dav_remote_contact_directory (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| LinphoneLdapParams * | linphone_remote_contact_directory_get_ldap_remote_contact_directory (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| const char * | linphone_remote_contact_directory_get_server_url (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| void | linphone_remote_contact_directory_set_server_url (LinphoneRemoteContactDirectory *remote_contact_directory, const char *server_url) |
| |
| unsigned int | linphone_remote_contact_directory_get_limit (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| void | linphone_remote_contact_directory_set_limit (LinphoneRemoteContactDirectory *remote_contact_directory, unsigned int limit) |
| |
| unsigned int | linphone_remote_contact_directory_get_min_characters (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| void | linphone_remote_contact_directory_set_min_characters (LinphoneRemoteContactDirectory *remote_contact_directory, unsigned int min) |
| |
| unsigned int | linphone_remote_contact_directory_get_timeout (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
| void | linphone_remote_contact_directory_set_timeout (LinphoneRemoteContactDirectory *remote_contact_directory, unsigned int seconds) |
| |
| void | linphone_remote_contact_directory_set_delay (LinphoneRemoteContactDirectory *remote_contact_directory, int milliseconds) |
| |
| int | linphone_remote_contact_directory_get_delay (const LinphoneRemoteContactDirectory *remote_contact_directory) |
| |
Create, manage and search contacts.
◆ LinphoneMagicSearch
◆ LinphoneMagicSearchCbs
◆ linphone_card_dav_params_clone()
◆ linphone_card_dav_params_get_domain_fields()
Gets the list of vCard RFC fields to use to match the domain filter on.
For example, you can use "IMPP".
- Parameters
-
- Returns
- The list of vCard fields to make the query on using domain filter.
- Warning
- DO NOT USE ANYMORE, it won't have any effect.
- Deprecated:
- 06/10/2025 domain filter will be applied locally instead of using a CardDAV prop filter XML tag.
◆ linphone_card_dav_params_get_use_exact_match_policy()
Gets the matching policy: TRUE if the remote vCard value must match the filter exactly, FALSE if it only needs to contain the filter.
- Parameters
-
- Returns
- The matching policy: TRUE if the remote vCard value must match the filter exactly, FALSE if it only needs to contain the filter.
◆ linphone_card_dav_params_get_user_input_fields()
Gets the list of vCard RFC fields to use to match user input text on.
For example, you can use "FN", "N", "IMPP", "ORG", etc...
- Parameters
-
- Returns
- The list of vCard fields to make the query on using user input.
◆ linphone_card_dav_params_ref()
◆ linphone_card_dav_params_set_domain_fields()
| void linphone_card_dav_params_set_domain_fields |
( |
LinphoneCardDavParams * |
params, |
|
|
const bctbx_list_t * |
list |
|
) |
| |
Sets the list of vCard RFC fields to use to match the domain filter on.
For example, you can use "IMPP".
- Parameters
-
| params | The LinphoneCardDavParams object. |
| list | the list of vCard RFC fields to use to match the domain filter on. |
- Warning
- DO NOT USE ANYMORE, it won't have any effect.
- Deprecated:
- 06/10/2025 domain filter will be applied locally instead of using a CardDAV prop filter XML tag.
◆ linphone_card_dav_params_set_use_exact_match_policy()
| void linphone_card_dav_params_set_use_exact_match_policy |
( |
LinphoneCardDavParams * |
params, |
|
|
bool_t |
exact_match |
|
) |
| |
Sets the matching policy: TRUE if the remote vCard value must match the filter exactly, FALSE if it only needs to contain the filter.
- Parameters
-
| params | The LinphoneCardDavParams object. |
| exact_match | the policy to use: TRUE if the remote vCard value must match the filter exactly, FALSE if it only needs to contain the filter. |
◆ linphone_card_dav_params_set_user_input_fields()
| void linphone_card_dav_params_set_user_input_fields |
( |
LinphoneCardDavParams * |
params, |
|
|
bctbx_list_t * |
list |
|
) |
| |
Sets the list of vCard RFC fields to use to match user input text on.
For example, you can use "FN", "N", "IMPP", "ORG", etc...
- Parameters
-
| params | The LinphoneCardDavParams object. |
| list | the list of vCard RFC fields to use to match user input text on. |
◆ linphone_card_dav_params_unref()
◆ linphone_core_add_remote_contact_directory()
◆ linphone_core_create_card_dav_params()
◆ linphone_core_create_card_dav_remote_contact_directory()
◆ linphone_core_create_ldap_remote_contact_directory()
◆ linphone_core_create_vcard_from_text()
Creates a vCard from a text, if possible.
- Parameters
-
- Returns
- a new LinphoneVcard object if the parsing of the input succeeded, NULL otherwise.
◆ linphone_core_get_remote_contact_directories()
| bctbx_list_t * linphone_core_get_remote_contact_directories |
( |
LinphoneCore * |
core | ) |
|
◆ linphone_core_remove_remote_contact_directory()
◆ linphone_remote_contact_directory_enable()
Enable this remote contact directory, ie make it usable for searches with the LinphoneMagicSearch object.
- Parameters
-
◆ linphone_remote_contact_directory_enabled()
Returns whether this remote contact directory is enabled, i.e.
usable for searches with the LinphoneMagicSearch .
- Parameters
-
- Returns
- a boolean.
◆ linphone_remote_contact_directory_get_card_dav_remote_contact_directory()
◆ linphone_remote_contact_directory_get_delay()
◆ linphone_remote_contact_directory_get_ldap_remote_contact_directory()
◆ linphone_remote_contact_directory_get_limit()
Gets the maximum number of results to fetch, 0 means no limit.
- Parameters
-
- Returns
- the maximum number of results, 0 means no limit.
◆ linphone_remote_contact_directory_get_min_characters()
Gets the minimum number of characters to have before sending the query to the server.
- Parameters
-
- Returns
- The mininum number of characters to have before sending the query.
◆ linphone_remote_contact_directory_get_server_url()
Gets the configured remote contact directory server URL.
- Parameters
-
- Returns
- the remote contact directory server URL.
◆ linphone_remote_contact_directory_get_timeout()
Gets the timeout (in seconds) after which the query is abandonned.
- Parameters
-
- Returns
- The timeout (in seconds) after which the query is considered to be timed-out.
◆ linphone_remote_contact_directory_get_type()
◆ linphone_remote_contact_directory_ref()
◆ linphone_remote_contact_directory_set_delay()
◆ linphone_remote_contact_directory_set_limit()
Sets the maximum number of results to fetch, 0 means no limit.
- Parameters
-
◆ linphone_remote_contact_directory_set_min_characters()
Sets the minimum number of characters to have before sending the query to the server.
- Parameters
-
◆ linphone_remote_contact_directory_set_server_url()
Sets the server URL to use to reach the remote contact directory server.
- Parameters
-
◆ linphone_remote_contact_directory_set_timeout()
Sets the timeout (in seconds) after which the query is abandonned.
- Parameters
-
◆ linphone_remote_contact_directory_unref()