|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
Add-on settings More...
Classes | |
| class | XBMCAddon::xbmcaddon::Settings |
Functions | |
| XBMCAddon::xbmcaddon::Settings::Settings (std::shared_ptr< CSettingsBase > settings) | |
| virtual | XBMCAddon::xbmcaddon::Settings::~Settings ()=default |
| XBMCAddon::xbmcaddon::Settings::getBool (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::getInt (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::getNumber (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::getString (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::getBoolList (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::getIntList (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::getNumberList (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::getStringList (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::setBool (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::setInt (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::setNumber (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::setString (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::setBoolList (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::setIntList (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::setNumberList (...) | |
| |
| XBMCAddon::xbmcaddon::Settings::setStringList (...) | |
| |
Add-on settings
Class: Settings() This wrapper provides access to the settings specific to an add-on. It supports reading and writing specific setting values.
Example:
| bool XBMCAddon::xbmcaddon::Settings::getBool | ( | ... | ) |
Function: getBool(id) | id | string - id of the setting that the module needs to access. |
Example:
| std::vector< bool > XBMCAddon::xbmcaddon::Settings::getBoolList | ( | ... | ) |
Function: getBoolList(id) | id | string - id of the setting that the module needs to access. |
Example:
| int XBMCAddon::xbmcaddon::Settings::getInt | ( | ... | ) |
Function: getInt(id) | id | string - id of the setting that the module needs to access. |
Example:
| std::vector< int > XBMCAddon::xbmcaddon::Settings::getIntList | ( | ... | ) |
Function: getIntList(id) | id | string - id of the setting that the module needs to access. |
Example:
| double XBMCAddon::xbmcaddon::Settings::getNumber | ( | ... | ) |
Function: getNumber(id) | id | string - id of the setting that the module needs to access. |
Example:
| std::vector< double > XBMCAddon::xbmcaddon::Settings::getNumberList | ( | ... | ) |
Function: getNumberList(id) | id | string - id of the setting that the module needs to access. |
Example:
| String XBMCAddon::xbmcaddon::Settings::getString | ( | ... | ) |
Function: getString(id) | id | string - id of the setting that the module needs to access. |
Example:
| std::vector< String > XBMCAddon::xbmcaddon::Settings::getStringList | ( | ... | ) |
Function: getStringList(id) | id | string - id of the setting that the module needs to access. |
Example:
| void XBMCAddon::xbmcaddon::Settings::setBool | ( | ... | ) |
Function: setBool(id, value) | id | string - id of the setting that the module needs to access. |
| value | bool - value of the setting. |
Example:
| void XBMCAddon::xbmcaddon::Settings::setBoolList | ( | ... | ) |
Function: setBoolList(id, values) | id | string - id of the setting that the module needs to access. |
| values | list of boolean - values of the setting. |
Example:
| void XBMCAddon::xbmcaddon::Settings::setInt | ( | ... | ) |
Function: setInt(id, value) | id | string - id of the setting that the module needs to access. |
| value | integer - value of the setting. |
Example:
| void XBMCAddon::xbmcaddon::Settings::setIntList | ( | ... | ) |
Function: setIntList(id, value) | id | string - id of the setting that the module needs to access. |
| values | list of int - values of the setting. |
Example:
| void XBMCAddon::xbmcaddon::Settings::setNumber | ( | ... | ) |
Function: setNumber(id, value) | id | string - id of the setting that the module needs to access. |
| value | float - value of the setting. |
Example:
| void XBMCAddon::xbmcaddon::Settings::setNumberList | ( | ... | ) |
Function: setNumberList(id, value) | id | string - id of the setting that the module needs to access. |
| values | list of float - values of the setting. |
Example:
| void XBMCAddon::xbmcaddon::Settings::setString | ( | ... | ) |
Function: setString(id, value) | id | string - id of the setting that the module needs to access. |
| value | string or unicode - value of the setting. |
Example:
| void XBMCAddon::xbmcaddon::Settings::setStringList | ( | ... | ) |
Function: setStringList(id, value) | id | string - id of the setting that the module needs to access. |
| values | list of string or unicode - values of the setting. |
Example:
| XBMCAddon::xbmcaddon::Settings::Settings | ( | std::shared_ptr< CSettingsBase > | settings | ) |
|
virtualdefault |