Instance informations
Class to get any instance information when creating a new one.
More...
Instance informations
Class to get any instance information when creating a new one.
◆ FirstInstance()
bool kodi::addon::IInstanceInfo::FirstInstance |
( |
| ) |
const |
|
inline |
Check this is first created instance by Kodi.
◆ GetAPIVersion()
std::string kodi::addon::IInstanceInfo::GetAPIVersion |
( |
| ) |
const |
|
inline |
Get API version from Kodi about instance.
◆ GetID()
std::string kodi::addon::IInstanceInfo::GetID |
( |
| ) |
const |
|
inline |
Get optional identification string (usage relate to addon type).
◆ GetNumber()
uint32_t kodi::addon::IInstanceInfo::GetNumber |
( |
| ) |
const |
|
inline |
Get optional identification number (usage relate to addon type).
◆ GetType()
To get settings value as string.
◆ IsType()
Check asked type used on this class.
- Parameters
-
[in] | type | Type identifier to check |
- Returns
- True if type matches