Managing Dictionary.
More...
|
typedef struct _LinphoneDictionary | LinphoneDictionary |
| Object that represents key-value pair container.
|
|
|
LinphoneDictionary * | linphone_dictionary_clone (const LinphoneDictionary *src) |
| Instantiates a new dictionary with values from source. More...
|
|
LinphoneDictionary * | linphone_dictionary_ref (LinphoneDictionary *dict) |
| Take a reference on a LinphoneDictionary. More...
|
|
void | linphone_dictionary_unref (LinphoneDictionary *dict) |
| Release a LinphoneDictionary. More...
|
|
void | linphone_dictionary_set_float (LinphoneDictionary *dict, const char *key, float value) |
| Sets a float value to a key. More...
|
|
float | linphone_dictionary_get_float (const LinphoneDictionary *dict, const char *key) |
| Gets the float value of a key. More...
|
|
void | linphone_dictionary_set_int (LinphoneDictionary *dict, const char *key, int value) |
| Sets a int value to a key. More...
|
|
int | linphone_dictionary_get_int (const LinphoneDictionary *dict, const char *key) |
| Gets the int value of a key. More...
|
|
void | linphone_dictionary_set_string (LinphoneDictionary *dict, const char *key, const char *value) |
| Sets a char* value to a key. More...
|
|
const char * | linphone_dictionary_get_string (const LinphoneDictionary *dict, const char *key) |
| Gets the char* value of a key. More...
|
|
void | linphone_dictionary_set_int64 (LinphoneDictionary *dict, const char *key, int64_t value) |
| Sets a int64 value to a key. More...
|
|
int64_t | linphone_dictionary_get_int64 (const LinphoneDictionary *dict, const char *key) |
| Gets the int64 value of a key. More...
|
|
LinphoneStatus | linphone_dictionary_remove (LinphoneDictionary *dict, const char *key) |
| Removes the pair of the key. More...
|
|
void | linphone_dictionary_clear (LinphoneDictionary *dict) |
| Clears the dictionary. More...
|
|
LinphoneStatus | linphone_dictionary_has_key (const LinphoneDictionary *dict, const char *key) |
| Search if the key is present in the dictionary. More...
|
|
Managing Dictionary.
◆ linphone_dictionary_clear()
Clears the dictionary.
- Parameters
-
◆ linphone_dictionary_clone()
Instantiates a new dictionary with values from source.
- Parameters
-
- Returns
- The newly created LinphoneDictionary object.
◆ linphone_dictionary_get_float()
Gets the float value of a key.
- Parameters
-
- Returns
- The username.
◆ linphone_dictionary_get_int()
Gets the int value of a key.
- Parameters
-
- Returns
- The username.
◆ linphone_dictionary_get_int64()
int64_t linphone_dictionary_get_int64 |
( |
const LinphoneDictionary * |
dict, |
|
|
const char * |
key |
|
) |
| |
Gets the int64 value of a key.
- Parameters
-
- Returns
- The username.
◆ linphone_dictionary_get_string()
const char* linphone_dictionary_get_string |
( |
const LinphoneDictionary * |
dict, |
|
|
const char * |
key |
|
) |
| |
Gets the char* value of a key.
- Parameters
-
- Returns
- The username.
◆ linphone_dictionary_has_key()
Search if the key is present in the dictionary.
- Parameters
-
- Returns
- The LinphoneStatus of the operation.
◆ linphone_dictionary_ref()
◆ linphone_dictionary_remove()
Removes the pair of the key.
- Parameters
-
- Returns
- The LinphoneStatus of the operation.
◆ linphone_dictionary_set_float()
void linphone_dictionary_set_float |
( |
LinphoneDictionary * |
dict, |
|
|
const char * |
key, |
|
|
float |
value |
|
) |
| |
Sets a float value to a key.
- Parameters
-
◆ linphone_dictionary_set_int()
void linphone_dictionary_set_int |
( |
LinphoneDictionary * |
dict, |
|
|
const char * |
key, |
|
|
int |
value |
|
) |
| |
Sets a int value to a key.
- Parameters
-
◆ linphone_dictionary_set_int64()
void linphone_dictionary_set_int64 |
( |
LinphoneDictionary * |
dict, |
|
|
const char * |
key, |
|
|
int64_t |
value |
|
) |
| |
Sets a int64 value to a key.
- Parameters
-
◆ linphone_dictionary_set_string()
void linphone_dictionary_set_string |
( |
LinphoneDictionary * |
dict, |
|
|
const char * |
key, |
|
|
const char * |
value |
|
) |
| |
Sets a char* value to a key.
- Parameters
-
◆ linphone_dictionary_unref()