Liblinphone  5.5.0
Linphone.Dictionary Class Reference
Inheritance diagram for Linphone.Dictionary:
Linphone.LinphoneObject

Public Member Functions

void Clear ()
 
Linphone.Dictionary Clone ()
 
Linphone.Buffer GetBuffer (string key)
 
float GetFloat (string key)
 
int GetInt (string key)
 
int GetInt64 (string key)
 
string GetString (string key)
 
void HasKey (string key)
 
void Remove (string key)
 
void SetBuffer (string key, Linphone.Buffer val)
 
void SetFloat (string key, float val)
 
void SetInt (string key, int val)
 
void SetInt64 (string key, int val)
 
void SetString (string key, string val)
 

Properties

IEnumerable< string > Keys [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Linphone.LinphoneObject
static String linphone_pointer_to_string (IntPtr ptr)
 
static IntPtr linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str)
 
IntPtr StringArrayToBctbxList (IEnumerable< string > stringlist)
 
void CleanStringArrayPtrs (IntPtr l)
 

Detailed Description

Object that represents key-value pair container.

Member Function Documentation

void Linphone.Dictionary.Clear ( )
inline

Clears the dictionary.

Linphone.Dictionary Linphone.Dictionary.Clone ( )
inline

Instantiates a new dictionary with values from source.

Returns
The newly created Linphone.Dictionary object.
Linphone.Buffer Linphone.Dictionary.GetBuffer ( string  key)
inline

Gets the LinphoneBuffer value of a key.

Parameters
keyThe key.
Returns
The value.
float Linphone.Dictionary.GetFloat ( string  key)
inline

Gets the float value of a key.

Parameters
keyThe key.
Returns
The value.
int Linphone.Dictionary.GetInt ( string  key)
inline

Gets the int value of a key.

Parameters
keyThe key.
Returns
The value.
int Linphone.Dictionary.GetInt64 ( string  key)
inline

Gets the int64 value of a key.

Parameters
keyThe key.
Returns
The value.
string Linphone.Dictionary.GetString ( string  key)
inline

Gets the char* value of a key.

Parameters
keyThe key.
Returns
The value.
void Linphone.Dictionary.HasKey ( string  key)
inline

Search if the key is present in the dictionary.

Parameters
keyThe key.
Returns
The LinphoneStatus of the operation.
void Linphone.Dictionary.Remove ( string  key)
inline

Removes the pair of the key.

Parameters
keyThe key.
Returns
The LinphoneStatus of the operation.
void Linphone.Dictionary.SetBuffer ( string  key,
Linphone.Buffer  val 
)
inline

Sets a LinphoneBuffer value to a key.

Parameters
keyThe key.
valThe LinphoneBuffer value.
void Linphone.Dictionary.SetFloat ( string  key,
float  val 
)
inline

Sets a float value to a key.

Parameters
keyThe key.
valThe int value.
void Linphone.Dictionary.SetInt ( string  key,
int  val 
)
inline

Sets a int value to a key.

Parameters
keyThe key.
valThe int value.
void Linphone.Dictionary.SetInt64 ( string  key,
int  val 
)
inline

Sets a int64 value to a key.

Parameters
keyThe key.
valThe int64 value.
void Linphone.Dictionary.SetString ( string  key,
string  val 
)
inline

Sets a char* value to a key.

Parameters
keyThe key.
valThe value.

Property Documentation

IEnumerable<string> Linphone.Dictionary.Keys
get

Returns the list of keys present in the dictionary.

Returns
the A list of const char * objects. of keys inside the dictionary.

The documentation for this class was generated from the following file: