Condividi tramite


ForegroundEnergyManager.RecentEnergyUsageLevel Proprietà

Definizione

Ottiene il livello di energia predefinito più vicino dell'app in primo piano per il periodo corrente di 30 minuti, uguale a LowUsageLevel, NearMaxAcceptableUsageLevel, MaxAcceptableUsageLevel o ExcessiveUsageLevel.

public:
 static property unsigned int RecentEnergyUsageLevel { unsigned int get(); };
static uint32_t RecentEnergyUsageLevel();
/// [get: Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
static uint32_t RecentEnergyUsageLevel();
public static uint RecentEnergyUsageLevel { get; }
public static uint RecentEnergyUsageLevel { [Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")] get; }
var uInt32 = ForegroundEnergyManager.recentEnergyUsageLevel;
Public Shared ReadOnly Property RecentEnergyUsageLevel As UInteger

Valore della proprietà

UInt32

unsigned int

uint32_t

Livello energetico predefinito più vicino dell'app in primo piano per il periodo corrente di 30 minuti.

Attributi

Si applica a