PowerManager.EnergySaverStatusChanged PowerManager.EnergySaverStatusChanged PowerManager.EnergySaverStatusChanged PowerManager.EnergySaverStatusChanged PowerManager.EnergySaverStatusChanged Event

Definition

Occurs when EnergySaverStatus changes.

public : event EventHandler<Platform::Object> EnergySaverStatusChanged
// Register
event_token EnergySaverStatusChanged(EventHandler<Platform::Object> const& handler) const;

// Revoke with event_token
void EnergySaverStatusChanged(event_token const& cookie) const;

// Revoke with event_revoker
EnergySaverStatusChanged_revoker EnergySaverStatusChanged(auto_revoke_t, EventHandler<Platform::Object> const& handler) const;
public event EventHandler<object> EnergySaverStatusChanged
Public Event EnergySaverStatusChanged As EventHandler (Of object)
function onEnergySaverStatusChanged(eventArgs){/* Your code */}


powerManager.addEventListener("energysaverstatuschanged", onEnergySaverStatusChanged);
powerManager.removeEventListener("energysaverstatuschanged", onEnergySaverStatusChanged);