xbmc
Public Member Functions | List of all members
KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS Class Reference
Inheritance diagram for KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS:
Inheritance graph
[legend]
Collaboration diagram for KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS:
Collaboration graph
[legend]

Public Member Functions

void Inhibit () override
 Screensaver inhibition on webOS works by subscribing to the tvpower service. More...
 
void Uninhibit () override
 Allow the OS screen saver to become active again. More...
 

Member Function Documentation

◆ Inhibit()

void KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS::Inhibit ( )
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.

◆ Uninhibit()

void KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS::Uninhibit ( )
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.


The documentation for this class was generated from the following files: