Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ADDON::CAddonGUITranslator Class Reference

Translates data types from GUI API to the corresponding format in Kodi. More...

#include <GUITranslator.h>

Static Public Member Functions

static ADDON_ACTION TranslateActionIdToAddon (int kodiId)
 Translate Kodi's action id's to addon.
 
static int TranslateActionIdToKodi (ADDON_ACTION addonId)
 Translate addon's action id's to Kodi.
 

Detailed Description

Translates data types from GUI API to the corresponding format in Kodi.

This class is stateless.

Member Function Documentation

◆ TranslateActionIdToAddon()

ADDON_ACTION CAddonGUITranslator::TranslateActionIdToAddon ( int kodiId)
static

Translate Kodi's action id's to addon.

Parameters
kodiIdKodi's action identifier
Returns
Addon action identifier

◆ TranslateActionIdToKodi()

int CAddonGUITranslator::TranslateActionIdToKodi ( ADDON_ACTION addonId)
static

Translate addon's action id's to Kodi.

Parameters
addonIdAddon's action identifier
Returns
Kodi action identifier

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