Kodi Development  19.0
for Binary and Script based Add-Ons
Interface - kodi::addon

Detailed Description

Addon type interface functions and classes

Modules

 class CAddonBase
 
 Addon type instances
 

Function Documentation

◆ GetKodiTypeVersion()

std::string ATTRIBUTE_HIDDEN kodi::GetKodiTypeVersion ( int  type)
inline

To get used version inside Kodi itself about asked type.

This thought to allow a addon a handling of newer addon versions within older Kodi until the type min version not changed.

Parameters
[in]typeThe wanted type of ADDON_TYPE to ask
Returns
The version string about type in MAJOR.MINOR.PATCH style.