Class Dictionary
Object that represents key-value pair container.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class Dictionary : LinphoneObject
Methods
Clear()
Clears the dictionary.
Declaration
public void Clear()
Clone()
Instantiates a new dictionary with values from source.
Declaration
public Dictionary Clone()
Returns
Type | Description |
---|---|
Dictionary | The newly created Dictionary object. |
GetFloat(String)
Gets the float value of a key.
Declaration
public float GetFloat(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Returns
Type | Description |
---|---|
System.Single | The value. |
GetInt(String)
Gets the int value of a key.
Declaration
public int GetInt(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Returns
Type | Description |
---|---|
System.Int32 | The value. |
GetInt64(String)
Gets the int64 value of a key.
Declaration
public int GetInt64(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Returns
Type | Description |
---|---|
System.Int32 | The value. |
GetLinphoneBuffer(String)
Gets the LinphoneBuffer value of a key.
Declaration
public Buffer GetLinphoneBuffer(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Returns
Type | Description |
---|---|
Buffer | The value. |
GetString(String)
Gets the char* value of a key.
Declaration
public string GetString(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Returns
Type | Description |
---|---|
System.String | The value. |
HasKey(String)
Search if the key is present in the dictionary.
Declaration
public void HasKey(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Remove(String)
Removes the pair of the key.
Declaration
public void Remove(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
SetFloat(String, Single)
Sets a float value to a key.
Declaration
public void SetFloat(string key, float val)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.Single | val | The int value. |
SetInt(String, Int32)
Sets a int value to a key.
Declaration
public void SetInt(string key, int val)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.Int32 | val | The int value. |
SetInt64(String, Int32)
Sets a int64 value to a key.
Declaration
public void SetInt64(string key, int val)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.Int32 | val | The int64 value. |
SetLinphoneBuffer(String, Buffer)
Sets a LinphoneBuffer value to a key.
Declaration
public void SetLinphoneBuffer(string key, Buffer val)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Buffer | val | The LinphoneBuffer value. |
SetString(String, String)
Sets a char* value to a key.
Declaration
public void SetString(string key, string val)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | val | The value. |