|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
Functions | |
| XBMCAddon::xbmc::Player::onPlayBackStarted () | |
| |
| XBMCAddon::xbmc::Player::onAVStarted () | |
| |
| XBMCAddon::xbmc::Player::onAVChange () | |
| |
| XBMCAddon::xbmc::Player::onPlayBackEnded () | |
| |
| XBMCAddon::xbmc::Player::onPlayBackStopped () | |
| |
| XBMCAddon::xbmc::Player::onPlayBackError () | |
| |
| XBMCAddon::xbmc::Player::onPlayBackPaused () | |
| |
| XBMCAddon::xbmc::Player::onPlayBackResumed () | |
| |
| XBMCAddon::xbmc::Player::onQueueNextItem () | |
| |
| XBMCAddon::xbmc::Player::onPlayBackSpeedChanged (int speed) | |
| |
| XBMCAddon::xbmc::Player::onPlayBackSeek (...) | |
| |
| XBMCAddon::xbmc::Player::onPlayBackSeekChapter (...) | |
| |
Callback functions.
Functions to handle control callbacks from Kodi to Add-On.
Go back to normal functions from player
| void XBMCAddon::xbmc::Player::onAVChange | ( | ) |
Function: onAVChange() Will be called when Kodi has a video, audio or subtitle stream. Also happens when the stream changes.
| void XBMCAddon::xbmc::Player::onAVStarted | ( | ) |
Function: onAVStarted() Will be called when Kodi has a video or audiostream.
| void XBMCAddon::xbmc::Player::onPlayBackEnded | ( | ) |
Function: onPlayBackEnded() Will be called when Kodi stops playing a file.
| void XBMCAddon::xbmc::Player::onPlayBackError | ( | ) |
Function: onPlayBackError() Will be called when playback stops due to an error.
| void XBMCAddon::xbmc::Player::onPlayBackPaused | ( | ) |
Function: onPlayBackPaused() Will be called when user pauses a playing file.
| void XBMCAddon::xbmc::Player::onPlayBackResumed | ( | ) |
Function: onPlayBackResumed() Will be called when user resumes a paused file.
| void XBMCAddon::xbmc::Player::onPlayBackSeek | ( | ... | ) |
Function: onPlayBackSeek(time, seekOffset) Will be called when user seeks to a time.
| time | [integer] Time to seek to |
| seekOffset | [integer] ? |
| void XBMCAddon::xbmc::Player::onPlayBackSeekChapter | ( | ... | ) |
Function: onPlayBackSeekChapter(chapter) Will be called when user performs a chapter seek.
| chapter | [integer] Chapter to seek to |
Function: onPlayBackSpeedChanged(speed) Will be called when players speed changes (eg. user FF/RW).
| speed | [integer] Current speed of player |
| void XBMCAddon::xbmc::Player::onPlayBackStarted | ( | ) |
Function: onPlayBackStarted() Will be called when Kodi player starts. Video or audio might not be available at this point.
| void XBMCAddon::xbmc::Player::onPlayBackStopped | ( | ) |
Function: onPlayBackStopped() Will be called when user stops Kodi playing a file.
| void XBMCAddon::xbmc::Player::onQueueNextItem | ( | ) |
Function: onQueueNextItem() Will be called when user queues the next item.