Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <OSScreenSaver.h>
Public Member Functions | |
COSScreenSaverInhibitor () noexcept | |
COSScreenSaverInhibitor (COSScreenSaverInhibitor &&other) noexcept | |
COSScreenSaverInhibitor & | operator= (COSScreenSaverInhibitor &&other) noexcept |
~COSScreenSaverInhibitor () noexcept | |
void | Release () |
bool | IsActive () const |
operator bool () const | |
Friends | |
class | COSScreenSaverManager |
Inhibit the OS screen saver as long as this object is alive
Destroy or call Release to stop this inhibitor from being active. The OS screen saver may still be inhibited as long as other inhibitors are active though.
|
noexcept |
|
noexcept |
|
noexcept |
bool COSScreenSaverInhibitor::IsActive | ( | ) | const |
COSScreenSaverInhibitor::operator bool | ( | ) | const |
|
noexcept |
void COSScreenSaverInhibitor::Release | ( | ) |
|
friend |