次の方法で共有


ForegroundEnergyManager.RecentEnergyUsageLevel プロパティ

定義

LowUsageLevel、NearMaxAcceptableUsageLevelMaxAcceptableUsageLevelまたは 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 分間のフォアグラウンド アプリの最も近い定義済みエネルギー レベル。

属性

適用対象