PowerManager.RemainingDischargeTimeChanged PowerManager.RemainingDischargeTimeChanged PowerManager.RemainingDischargeTimeChanged PowerManager.RemainingDischargeTimeChanged PowerManager.RemainingDischargeTimeChanged Event

Definition

Occurs when RemainingDischargeTime changes.

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

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

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


powerManager.addEventListener("remainingdischargetimechanged", onRemainingDischargeTimeChanged);
powerManager.removeEventListener("remainingdischargetimechanged", onRemainingDischargeTimeChanged);