xbmc
Functions
Library - xbmcplugin

Plugin functions on Kodi. More...

Collaboration diagram for Library - xbmcplugin:

Functions

bool XBMCAddon::xbmcplugin::addDirectoryItem (int handle, const String &url, const xbmcgui::ListItem *listItem, bool isFolder, int totalItems)
 
bool XBMCAddon::xbmcplugin::addDirectoryItems (int handle, const std::vector< Tuple< String, const XBMCAddon::xbmcgui::ListItem *, bool > > &items, int totalItems)
 
void XBMCAddon::xbmcplugin::endOfDirectory (int handle, bool succeeded, bool updateListing, bool cacheToDisc)
 
void XBMCAddon::xbmcplugin::setResolvedUrl (int handle, bool succeeded, const xbmcgui::ListItem *listItem)
 
void XBMCAddon::xbmcplugin::addSortMethod (int handle, int sortMethod, const String &clabelMask, const String &clabel2Mask)
 
String XBMCAddon::xbmcplugin::getSetting (int handle, const char *id)
 
void XBMCAddon::xbmcplugin::setSetting (int handle, const String &id, const String &value)
 
void XBMCAddon::xbmcplugin::setContent (int handle, const char *content)
 
void XBMCAddon::xbmcplugin::setPluginCategory (int handle, const String &category)
 
void XBMCAddon::xbmcplugin::setPluginFanart (int handle, const char *image, const char *color1, const char *color2, const char *color3)
 
void XBMCAddon::xbmcplugin::setProperty (int handle, const char *key, const String &value)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_NONE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_LABEL)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_LABEL_IGNORE_THE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_DATE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_SIZE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_FILE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_DRIVE_TYPE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_TRACKNUM)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_DURATION)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_TITLE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_TITLE_IGNORE_THE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_ARTIST)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_ARTIST_IGNORE_THE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_ALBUM)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_ALBUM_IGNORE_THE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_GENRE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT2 (int, SORT_METHOD_VIDEO_YEAR, SORT_METHOD_YEAR)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_VIDEO_RATING)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_PROGRAM_COUNT)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_PLAYLIST_ORDER)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_EPISODE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_VIDEO_TITLE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_VIDEO_SORT_TITLE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_VIDEO_SORT_TITLE_IGNORE_THE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_VIDEO_ORIGINAL_TITLE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_VIDEO_ORIGINAL_TITLE_IGNORE_THE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_PRODUCTIONCODE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_SONG_RATING)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_MPAA_RATING)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_VIDEO_RUNTIME)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_STUDIO)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_STUDIO_IGNORE_THE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_UNSORTED)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_BITRATE)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_LISTENERS)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_COUNTRY)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_DATEADDED)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_FULLPATH)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_LABEL_IGNORE_FOLDERS)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_LASTPLAYED)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_PLAYCOUNT)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_CHANNEL)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_DATE_TAKEN)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_VIDEO_USER_RATING)
 
 XBMCAddon::xbmcplugin::SWIG_CONSTANT (int, SORT_METHOD_SONG_USER_RATING)
 

Detailed Description

Plugin functions on Kodi.

Offers classes and functions that allow a developer to present information through Kodi's standard menu structure. While plugins don't have the same flexibility as scripts, they boast significantly quicker development time and a more consistent user experience.