Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

#include <AddonBase.h>

Public Member Functions

 IInstanceInfo (KODI_ADDON_INSTANCE_STRUCT *instance)
 
KODI_ADDON_INSTANCE_TYPE GetType () const
 To get settings value as string.
 
bool IsType (KODI_ADDON_INSTANCE_TYPE type) const
 Check asked type used on this class.
 
uint32_t GetNumber () const
 Get optional identification number (usage relate to addon type).
 
std::string GetID () const
 Get optional identification string (usage relate to addon type).
 
std::string GetAPIVersion () const
 Get API version from Kodi about instance.
 
bool FirstInstance () const
 Check this is first created instance by Kodi.
 
 operator KODI_ADDON_INSTANCE_STRUCT * ()
 
 operator KODI_ADDON_INSTANCE_STRUCT * () const
 

Constructor & Destructor Documentation

◆ IInstanceInfo()

kodi::addon::IInstanceInfo::IInstanceInfo ( KODI_ADDON_INSTANCE_STRUCT * instance)
inlineexplicit

Member Function Documentation

◆ operator KODI_ADDON_INSTANCE_STRUCT *() [1/2]

kodi::addon::IInstanceInfo::operator KODI_ADDON_INSTANCE_STRUCT * ( )
inline

◆ operator KODI_ADDON_INSTANCE_STRUCT *() [2/2]

kodi::addon::IInstanceInfo::operator KODI_ADDON_INSTANCE_STRUCT * ( ) const
inline

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