wcl |
The wclPowerEventsMonitor type exposes the following members.
| Name | Description | |
|---|---|---|
| DoPowerStateChanged | Calls the OnChanged event. | |
| DoStarted |
Calls the OnStarted event.
(Inherited from wclSystemEventsMonitor) | |
| DoStopped |
Calls the OnStopped event.
(Inherited from wclSystemEventsMonitor) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) | |
| GetPowerStatus | Retrieves the power status of the system. The status indicates whether the system is running on AC or DC power, whether the battery is currently charging, how much battery life remains, and if battery saver is on or off. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Start |
Opens the system events monitor and starts listening for events.
(Inherited from wclSystemEventsMonitor) | |
| Stop |
Stops listening for system events and releases all resources.
(Inherited from wclSystemEventsMonitor) | |
| SystemMessageReceived |
The method called when a system message is received.
(Overrides wclSystemEventsMonitorSystemMessageReceived(wclSystemCategoryMessage)) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |