EnergyUsageTrackingSupported
Returns true if the active provider and device support energy-usage tracking, otherwise returns false.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
bool EnergyUsageTrackingSupported { get; }
Remarks
On some platforms whether the device actually exposes usable energy monitors is resolved asynchronously after IEnergyUsageControl.StartEnergyUsageTracking is called, so this property can start out and later become (for example, when the device turns out to have no usable power monitors). Re-check it after starting rather than only once up front, and treat a transition to as tracking no longer being available.
truefalsefalse