Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS Class Reference

#include <OSScreenSaverWebOS.h>

Inheritance diagram for KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS:
KODI::WINDOWING::IOSScreenSaver

Public Member Functions

 ~COSScreenSaverWebOS () override
 
void Inhibit () override
 
void Uninhibit () override
 
- Public Member Functions inherited from KODI::WINDOWING::IOSScreenSaver
virtual ~IOSScreenSaver ()=default
 

Constructor & Destructor Documentation

◆ ~COSScreenSaverWebOS()

KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS::~COSScreenSaverWebOS ( )
override

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: