Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <OSScreenSaver.h>
Public Member Functions | |
virtual | ~IOSScreenSaver ()=default |
virtual void | Inhibit ()=0 |
virtual void | Uninhibit ()=0 |
Interface for OS screen saver control implementations
|
virtualdefault |
|
pure virtual |
Do not allow the OS screen saver to become active
Calling this function multiple times without calling Unhibit MUST NOT produce any side-effects.
Implemented in COSScreenSaverAndroid, COSScreenSaverOSX, COSScreenSaverTVOS, COSScreenSaverX11, KODI::WINDOWING::CDummyOSScreenSaver, KODI::WINDOWING::LINUX::COSScreenSaverFreedesktop, KODI::WINDOWING::WAYLAND::COSScreenSaverIdleInhibitUnstableV1, and KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS.
|
pure virtual |
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.
Implemented in COSScreenSaverAndroid, COSScreenSaverOSX, COSScreenSaverTVOS, COSScreenSaverX11, KODI::WINDOWING::CDummyOSScreenSaver, KODI::WINDOWING::LINUX::COSScreenSaverFreedesktop, KODI::WINDOWING::WAYLAND::COSScreenSaverIdleInhibitUnstableV1, and KODI::WINDOWING::WAYLAND::COSScreenSaverWebOS.