|
Kodi Documentation
18.0
Kodi is an open source media player and entertainment hub.
|
Kodi's monitor class. More...
Classes | |
| class | XBMCAddon::xbmc::Monitor |
Functions | |
| XBMCAddon::xbmc::Monitor::onSettingsChanged () | |
| |
| XBMCAddon::xbmc::Monitor::onScreensaverActivated () | |
| |
| XBMCAddon::xbmc::Monitor::onScreensaverDeactivated () | |
| |
| XBMCAddon::xbmc::Monitor::onDPMSActivated () | |
| |
| XBMCAddon::xbmc::Monitor::onDPMSDeactivated () | |
| |
| XBMCAddon::xbmc::Monitor::onScanStarted (...) | |
| |
| XBMCAddon::xbmc::Monitor::onScanFinished (...) | |
| |
| XBMCAddon::xbmc::Monitor::onDatabaseScanStarted (...) | |
| |
| XBMCAddon::xbmc::Monitor::onDatabaseUpdated (...) | |
| |
| XBMCAddon::xbmc::Monitor::onCleanStarted (...) | |
| |
| XBMCAddon::xbmc::Monitor::onCleanFinished (...) | |
| |
| XBMCAddon::xbmc::Monitor::onAbortRequested () | |
| |
| XBMCAddon::xbmc::Monitor::onNotification (...) | |
| |
| XBMCAddon::xbmc::Monitor::waitForAbort (...) | |
| |
| XBMCAddon::xbmc::Monitor::abortRequested () | |
| |
Kodi's monitor class.
Class: xbmc.Monitor() Creates a new monitor to notify addon about changes.
| bool XBMCAddon::xbmc::Monitor::abortRequested | ( | ) |
Function: abortRequested() Returns True if abort has been requested.
| XBMCAddon::xbmc::Monitor::onAbortRequested | ( | ) |
Function: onAbortRequested() | XBMCAddon::xbmc::Monitor::onCleanFinished | ( | ... | ) |
Function: onCleanFinished(library) onCleanFinished method.
| library | Video / music as string |
| XBMCAddon::xbmc::Monitor::onCleanStarted | ( | ... | ) |
Function: onCleanStarted(library) onCleanStarted method.
| library | Video / music as string |
| XBMCAddon::xbmc::Monitor::onDatabaseScanStarted | ( | ... | ) |
Function: onDatabaseScanStarted(database) | XBMCAddon::xbmc::Monitor::onDatabaseUpdated | ( | ... | ) |
| XBMCAddon::xbmc::Monitor::onDPMSActivated | ( | ) |
Function: onDPMSActivated() onDPMSActivated method.
Will be called when energysaving/DPMS gets active
| XBMCAddon::xbmc::Monitor::onDPMSDeactivated | ( | ) |
Function: onDPMSDeactivated() onDPMSDeactivated method.
Will be called when energysaving/DPMS is turned off
| XBMCAddon::xbmc::Monitor::onNotification | ( | ... | ) |
Function: onNotification(sender, method, data) onNotification method.
| sender | Sender of the notification |
| method | Name of the notification |
| data | JSON-encoded data of the notification |
| XBMCAddon::xbmc::Monitor::onScanFinished | ( | ... | ) |
Function: onScanFinished(library) onScanFinished method.
| library | Video / music as string |
| XBMCAddon::xbmc::Monitor::onScanStarted | ( | ... | ) |
Function: onScanStarted(library) onScanStarted method.
| library | Video / music as string |
| XBMCAddon::xbmc::Monitor::onScreensaverActivated | ( | ) |
Function: onScreensaverActivated() onScreensaverActivated method.
Will be called when screensaver kicks in
| XBMCAddon::xbmc::Monitor::onScreensaverDeactivated | ( | ) |
Function: onScreensaverDeactivated() onScreensaverDeactivated method.
Will be called when screensaver goes off
| XBMCAddon::xbmc::Monitor::onSettingsChanged | ( | ) |
Function: onSettingsChanged() onSettingsChanged method.
Will be called when addon settings are changed
| bool XBMCAddon::xbmc::Monitor::waitForAbort | ( | ... | ) |
Function: waitForAbort([timeout]) Wait for Abort
Block until abort is requested, or until timeout occurs. If an abort requested have already been made, return immediately.
| timeout | [opt] float - timeout in seconds. Default: no timeout. |