IBattery.EnergySaverStatusChanged 事件

定义

在节能器状态更改时发生。

public:
 event EventHandler<Microsoft::Maui::Devices::EnergySaverStatusChangedEventArgs ^> ^ EnergySaverStatusChanged;
event EventHandler<Microsoft.Maui.Devices.EnergySaverStatusChangedEventArgs> EnergySaverStatusChanged;
member this.EnergySaverStatusChanged : EventHandler<Microsoft.Maui.Devices.EnergySaverStatusChangedEventArgs> 
Event EnergySaverStatusChanged As EventHandler(Of EnergySaverStatusChangedEventArgs) 

事件类型

适用于