PowerManager.RemainingChargePercentChanged PowerManager.RemainingChargePercentChanged PowerManager.RemainingChargePercentChanged PowerManager.RemainingChargePercentChanged PowerManager.RemainingChargePercentChanged Event

Definition

Occurs when RemainingChargePercent changes.

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

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

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


powerManager.addEventListener("remainingchargepercentchanged", onRemainingChargePercentChanged);
powerManager.removeEventListener("remainingchargepercentchanged", onRemainingChargePercentChanged);