다음을 통해 공유


ForegroundEnergyManager.RecentEnergyUsageLevel 속성

정의

LowUsageLevel, NearMaxAcceptableUsageLevel, MaxAcceptableUsageLevel 또는 ExcessiveUsageLevel과 같은 현재 30분 동안 포그라운드 앱의 가장 가까운 미리 정의된 에너지 수준을 가져옵니다.

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

속성 값

UInt32

unsigned int

uint32_t

현재 30분 동안 포그라운드 앱의 가장 가까운 미리 정의된 에너지 수준입니다.

특성

적용 대상