#include <TVOSPowerSyscall.h>
◆ CTVOSPowerSyscall()
CTVOSPowerSyscall::CTVOSPowerSyscall |
( |
| ) |
|
|
default |
◆ ~CTVOSPowerSyscall()
CTVOSPowerSyscall::~CTVOSPowerSyscall |
( |
| ) |
|
|
overridedefault |
◆ BatteryLevel()
int CTVOSPowerSyscall::BatteryLevel |
( |
void | | ) |
|
|
overridevirtual |
◆ CanHibernate()
bool CTVOSPowerSyscall::CanHibernate |
( |
void | | ) |
|
|
overridevirtual |
◆ CanPowerdown()
bool CTVOSPowerSyscall::CanPowerdown |
( |
void | | ) |
|
|
overridevirtual |
◆ CanReboot()
bool CTVOSPowerSyscall::CanReboot |
( |
void | | ) |
|
|
overridevirtual |
◆ CanSuspend()
bool CTVOSPowerSyscall::CanSuspend |
( |
void | | ) |
|
|
overridevirtual |
◆ CreateInstance()
◆ Hibernate()
bool CTVOSPowerSyscall::Hibernate |
( |
void | | ) |
|
|
overridevirtual |
◆ Powerdown()
bool CTVOSPowerSyscall::Powerdown |
( |
void | | ) |
|
|
overridevirtual |
◆ PumpPowerEvents()
Pump power related events back to xbmc.
PumpPowerEvents is called from Application Thread and the platform implementation may signal power related events back to xbmc through the callback.
return true if an event occurred and false if not.
- Parameters
-
callback | the callback to signal to |
Reimplemented from CPowerSyscallWithoutEvents.
◆ Reboot()
◆ Register()
void CTVOSPowerSyscall::Register |
( |
| ) |
|
|
static |
◆ SetOnPause()
void CTVOSPowerSyscall::SetOnPause |
( |
| ) |
|
◆ SetOnResume()
void CTVOSPowerSyscall::SetOnResume |
( |
| ) |
|
◆ Suspend()
bool CTVOSPowerSyscall::Suspend |
( |
void | | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: