Compartilhar via


ForegroundEnergyManager.RecentEnergyUsageReturnedToLow Evento

Definição

Ocorre quando o uso de energia do aplicativo diminuiu para um nível de uso baixo.

// Register
static event_token RecentEnergyUsageReturnedToLow(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void RecentEnergyUsageReturnedToLow(event_token const* cookie) const;

// Revoke with event_revoker
static ForegroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
// Register
static event_token RecentEnergyUsageReturnedToLow(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void RecentEnergyUsageReturnedToLow(event_token const* cookie) const;

// Revoke with event_revoker
static ForegroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> RecentEnergyUsageReturnedToLow;
[add: Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
public static event System.EventHandler<object> RecentEnergyUsageReturnedToLow;
function onRecentEnergyUsageReturnedToLow(eventArgs) { /* Your code */ }
Windows.System.Power.ForegroundEnergyManager.addEventListener("recentenergyusagereturnedtolow", onRecentEnergyUsageReturnedToLow);
Windows.System.Power.ForegroundEnergyManager.removeEventListener("recentenergyusagereturnedtolow", onRecentEnergyUsageReturnedToLow);
- or -
Windows.System.Power.ForegroundEnergyManager.onrecentenergyusagereturnedtolow = onRecentEnergyUsageReturnedToLow;
Public Shared Custom Event RecentEnergyUsageReturnedToLow As EventHandler(Of Object) 

Tipo de evento

Atributos

Comentários

Um aplicativo que opera nesse nível está consumindo significativamente menos energia do que o normal e não requer limitação.

Aplica-se a