Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
XBMCAddon::Dictionary< T > Class Template Reference

#include <Dictionary.h>

Inheritance diagram for XBMCAddon::Dictionary< T >:

Detailed Description

template<class T>
class XBMCAddon::Dictionary< T >

This is a bit of a hack for dynamically typed languages. In some cases python addon api calls handle dictionaries with variable value types. In this case we coerce all of these types into strings and then convert them back in the api. Yes, this is messy and maybe we should use the CVariant here. But for now the native api handles these calls by converting the string to the appropriate types.

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