| 
    Kodi Documentation 22.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::onCleanStarted (...) | |
 
 | |
| XBMCAddon::xbmc::Monitor::onCleanFinished (...) | |
 
 | |
| 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() | XBMCAddon::xbmc::Monitor::onCleanFinished | ( | ... | ) | 
Function:  onCleanFinished(library) | library | Video / music as string | 
| XBMCAddon::xbmc::Monitor::onCleanStarted | ( | ... | ) | 
Function:  onCleanStarted(library) | library | Video / music as string | 
| XBMCAddon::xbmc::Monitor::onDPMSActivated | ( | ) | 
Function:  onDPMSActivated() Will be called when energysaving/DPMS gets active
| XBMCAddon::xbmc::Monitor::onDPMSDeactivated | ( | ) | 
Function:  onDPMSDeactivated() Will be called when energysaving/DPMS is turned off
| XBMCAddon::xbmc::Monitor::onNotification | ( | ... | ) | 
Function:  onNotification(sender, method, data) | sender | Sender of the notification | 
| method | Name of the notification | 
| data | JSON-encoded data of the notification | 
| XBMCAddon::xbmc::Monitor::onScanFinished | ( | ... | ) | 
Function:  onScanFinished(library)  | library | Video / music as string | 
| XBMCAddon::xbmc::Monitor::onScanStarted | ( | ... | ) | 
Function:  onScanStarted(library) | library | Video / music as string | 
| XBMCAddon::xbmc::Monitor::onScreensaverActivated | ( | ) | 
Function:  onScreensaverActivated() Will be called when screensaver kicks in
| XBMCAddon::xbmc::Monitor::onScreensaverDeactivated | ( | ) | 
Function:  onScreensaverDeactivated() Will be called when screensaver goes off
| XBMCAddon::xbmc::Monitor::onSettingsChanged | ( | ) | 
Function:  onSettingsChanged() Will be called when addon settings are changed
| bool XBMCAddon::xbmc::Monitor::waitForAbort | ( | ... | ) | 
Function:  waitForAbort([timeout]) 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. | 
Example: