Kodi Documentation
Kodi is an open source media player and entertainment hub.
XBMCAddon::xbmcplugin Namespace Reference

Functions

bool addDirectoryItem (int handle, const String &url, const xbmcgui::ListItem *listItem, bool isFolder, int totalItems)
 
bool addDirectoryItems (int handle, const std::vector< Tuple< String, const XBMCAddon::xbmcgui::ListItem *, bool > > &items, int totalItems)
 
void endOfDirectory (int handle, bool succeeded, bool updateListing, bool cacheToDisc)
 
void setResolvedUrl (int handle, bool succeeded, const xbmcgui::ListItem *listItem)
 
void addSortMethod (int handle, int sortMethod, const String &clabelMask, const String &clabel2Mask)
 
String getSetting (int handle, const char *id)
 
void setSetting (int handle, const String &id, const String &value)
 
void setContent (int handle, const char *content)
 
void setPluginCategory (int handle, const String &category)
 
void setPluginFanart (int handle, const char *image, const char *color1, const char *color2, const char *color3)
 
void setProperty (int handle, const char *key, const String &value)
 

Function Documentation

◆ addDirectoryItem()

bool XBMCAddon::xbmcplugin::addDirectoryItem ( int  handle,
const String url,
const xbmcgui::ListItem listItem,
bool  isFolder,
int  totalItems 
)

◆ addDirectoryItems()

bool XBMCAddon::xbmcplugin::addDirectoryItems ( int  handle,
const std::vector< Tuple< String, const XBMCAddon::xbmcgui::ListItem *, bool > > &  items,
int  totalItems 
)

◆ addSortMethod()

void XBMCAddon::xbmcplugin::addSortMethod ( int  handle,
int  sortMethod,
const String clabelMask,
const String clabel2Mask 
)

◆ endOfDirectory()

void XBMCAddon::xbmcplugin::endOfDirectory ( int  handle,
bool  succeeded,
bool  updateListing,
bool  cacheToDisc 
)

◆ getSetting()

String XBMCAddon::xbmcplugin::getSetting ( int  handle,
const char *  id 
)

◆ setContent()

void XBMCAddon::xbmcplugin::setContent ( int  handle,
const char *  content 
)

◆ setPluginCategory()

void XBMCAddon::xbmcplugin::setPluginCategory ( int  handle,
const String category 
)

◆ setPluginFanart()

void XBMCAddon::xbmcplugin::setPluginFanart ( int  handle,
const char *  image,
const char *  color1,
const char *  color2,
const char *  color3 
)

◆ setProperty()

void XBMCAddon::xbmcplugin::setProperty ( int  handle,
const char *  key,
const String value 
)

◆ setResolvedUrl()

void XBMCAddon::xbmcplugin::setResolvedUrl ( int  handle,
bool  succeeded,
const xbmcgui::ListItem listItem 
)

◆ setSetting()

void XBMCAddon::xbmcplugin::setSetting ( int  handle,
const String id,
const String value 
)