Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <OSScreenSaverWebOS.h>
Public Member Functions | |
~COSScreenSaverWebOS () override | |
void | Inhibit () override |
void | Uninhibit () override |
Public Member Functions inherited from KODI::WINDOWING::IOSScreenSaver | |
virtual | ~IOSScreenSaver ()=default |
|
override |
|
overridevirtual |
Screensaver inhibition on webOS works by subscribing to the tvpower service. The service will respond every few minutes with a timestamp that needs to be confirmed if the screensaver should still be inhibited. If those responses are not answered the screensaver will be uninhibited again
Implements KODI::WINDOWING::IOSScreenSaver.
|
overridevirtual |
Allow the OS screen saver to become active again
Calling this function multiple times or at all without calling Inhibit MUST NOT produce any side-effects.
Implements KODI::WINDOWING::IOSScreenSaver.