![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IPreferencesControl interface.
The IPreferencesControl implements operating system dependent preferences, limitations to the number of keys and size of the keys should be considered.
Check if a given key exists in the preferences.
key | The item key to check. |
Get the value from a preference item with a given key.
key | The item key to query. |
Get the value from a preference item with a given key.
Boolean, String GetValue(String key, String value)
key | The item key to query. |
value | The string return value. |
Set the value to a preference item with a given key.
Boolean SetValue(String key, String value)
key | The item key to set. |
value | The item's new value. |
Get binary data from a preference item with a given key.
Boolean, Murl.Data GetData(String key, Murl.Data value)
key | The item key to query. |
value | The data return value. |
Set binary data to a preference item with a given key.
Boolean SetData(String key, Murl.Data value)
key | The item key to set. |
value | The item's new binary data. |
Remove an preference item for a given key.
key | The item key to reomve. |