Context menu hook
Menu hooks that are available in the context menus while playing a stream via this add-on. And in the Live TV settings dialog.
Optional class constructor with value set.
Possible menu's given to Kodi.
This can be becomes used on this, if kodi::addon::CInstancePVRClient::AddMenuHook() was set to related type:
The following table contains values that can be set with class PVRMenuhook :
- Parameters
-
[in] | hookId | This hook's identifier |
[in] | localizedStringId | Localized string identifier |
[in] | category | Category of menu hook, defined with PVR_MENUHOOK_CAT |
Example:
◆ SetHookId()
void SetHookId |
( |
unsigned int |
hookId | ) |
|
|
inline |
required
This hook's identifier.
◆ GetHookId()
unsigned int GetHookId |
( |
| ) |
const |
|
inline |
◆ SetLocalizedStringId()
void SetLocalizedStringId |
( |
unsigned int |
localizedStringId | ) |
|
|
inline |
◆ GetLocalizedStringId()
unsigned int GetLocalizedStringId |
( |
| ) |
const |
|
inline |
◆ SetCategory()
required
Category of menu hook.
◆ GetCategory()