TwclPowerEventsMonitor Class
The class allows an application to receive power state changes notifications.
TObject
wclMessaging.TwclPowerEventsMonitor
wclMessaging.TwclPowerEventsMonitor
The TwclPowerEventsMonitor type exposes the following members.
Show:
Name | Description | |
---|---|---|
![]() | Close | Stops listening for the power events and releases all resources. |
![]() | DoPowerStateChanged(TwclPowerState) | Fires the |
![]() | MessageReceived(TwclMessage) | The method called when a new notification message received. |
![]() | Open | Opens the power state changes monitor and starts listening for events. |
Show:
Name | Description | |
---|---|---|
![]() | OnPowerStateChanged | The event fires when the system's power state has been changed. |