Compartir a través de


ForegroundEnergyManager.RecentEnergyUsageLevel Propiedad

Definición

Obtiene el nivel de energía predefinido más cercano de la aplicación en primer plano para el período actual de 30 minutos, igual 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

Valor de propiedad

UInt32

unsigned int

uint32_t

El nivel de energía predefinido más cercano de la aplicación en primer plano durante el período actual de 30 minutos.

Atributos

Se aplica a