#include <AddonInstanceHandler.h>
◆ IAddonInstanceHandler()
Class constructor for handling add-on instance processes, allowing an add-on to handle multiple work simultaneously and independently.
- Parameters
-
[in] | type | The associated add-on type which is processed in the running instance. |
[in] | addonInfo | Class for querying available add-on information (e.g. content declared in addon.xml). |
[in] | parentInstance | [opt] Above running add-on instance which starts this instance. Used to have the associated class for work to open in the add-on.
Currently used values:
|
[in] | uniqueWorkID | [opt] Identification value intended to pass any special values to the instance to be opened. If not used, the IAddonInstanceHandler class pointer is used as a string.
Currently used values:
Add-on instance type | Description |
Inputstream | To transfer special values to inputstream using the property STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID from external space, for example PVR add-on which also supports inputstream can exchange special values with it, e.g. select the necessary add-on processing class, since it is not known at the start what is being executed ( live TV, radio, recordings...) and add-on may use different classes. |
All other | The used class pointer of Kodi's IAddonInstanceHandler is used as a value to have an individually different value. |
|
◆ ~IAddonInstanceHandler()
ADDON::IAddonInstanceHandler::~IAddonInstanceHandler |
( |
| ) |
|
|
virtual |
◆ Addon()
const AddonDllPtr & ADDON::IAddonInstanceHandler::Addon |
( |
| ) |
const |
|
inline |
◆ Author()
std::string ADDON::IAddonInstanceHandler::Author |
( |
| ) |
const |
◆ CreateInstance()
ADDON_STATUS ADDON::IAddonInstanceHandler::CreateInstance |
( |
| ) |
|
◆ DestroyInstance()
void ADDON::IAddonInstanceHandler::DestroyInstance |
( |
| ) |
|
◆ GetAddonInfo()
AddonInfoPtr ADDON::IAddonInstanceHandler::GetAddonInfo |
( |
| ) |
const |
|
inline |
◆ Icon()
std::string ADDON::IAddonInstanceHandler::Icon |
( |
| ) |
const |
◆ ID()
std::string ADDON::IAddonInstanceHandler::ID |
( |
| ) |
const |
◆ InstanceID()
◆ InstanceId()
◆ Name()
std::string ADDON::IAddonInstanceHandler::Name |
( |
| ) |
const |
◆ OnPostInstall()
virtual void ADDON::IAddonInstanceHandler::OnPostInstall |
( |
bool | update, |
|
|
bool | modal ) |
|
inlinevirtual |
◆ OnPostUnInstall()
virtual void ADDON::IAddonInstanceHandler::OnPostUnInstall |
( |
| ) |
|
|
inlinevirtual |
◆ OnPreInstall()
virtual void ADDON::IAddonInstanceHandler::OnPreInstall |
( |
| ) |
|
|
inlinevirtual |
◆ OnPreUnInstall()
virtual void ADDON::IAddonInstanceHandler::OnPreUnInstall |
( |
| ) |
|
|
inlinevirtual |
◆ Path()
std::string ADDON::IAddonInstanceHandler::Path |
( |
| ) |
const |
◆ Profile()
std::string ADDON::IAddonInstanceHandler::Profile |
( |
| ) |
const |
◆ UniqueWorkID()
const std::string & ADDON::IAddonInstanceHandler::UniqueWorkID |
( |
| ) |
|
|
inline |
◆ UsedType()
ADDON_TYPE ADDON::IAddonInstanceHandler::UsedType |
( |
| ) |
const |
|
inline |
◆ Version()
◆ m_ifc
◆ m_info
The documentation for this class was generated from the following files: