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