UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AndroidPlatformThermal.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
struct
FAndroidPlatformThermal
6
{
7
enum
EForecastPeriod
{
INSTANT
,
ONE_SEC
,
FIVE_SEC
,
TEN_SEC
,
NUM_FORECASTPERIODS
};
8
// returns the 'thermal stress' value for the forecasted period.
9
// This value is a hint for the extent of thermal throttling the device will experience during the time scale provided.
10
// The implementation is provided by PowerManager.getThermalHeadroom().
11
// Values of 1.0 or above indicate the current workload can not be sustained and thermal throttling will occur.
12
static
CORE_API
float
GetThermalStress
(
EForecastPeriod
ForecastPeriod
);
13
};
14
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
FAndroidPlatformThermal
Definition
AndroidPlatformThermal.h:6
FAndroidPlatformThermal::GetThermalStress
static CORE_API float GetThermalStress(EForecastPeriod ForecastPeriod)
Definition
AndroidPlatformThermal.cpp:108
FAndroidPlatformThermal::EForecastPeriod
EForecastPeriod
Definition
AndroidPlatformThermal.h:7
FAndroidPlatformThermal::INSTANT
@ INSTANT
Definition
AndroidPlatformThermal.h:7
FAndroidPlatformThermal::NUM_FORECASTPERIODS
@ NUM_FORECASTPERIODS
Definition
AndroidPlatformThermal.h:7
FAndroidPlatformThermal::TEN_SEC
@ TEN_SEC
Definition
AndroidPlatformThermal.h:7
FAndroidPlatformThermal::FIVE_SEC
@ FIVE_SEC
Definition
AndroidPlatformThermal.h:7
FAndroidPlatformThermal::ONE_SEC
@ ONE_SEC
Definition
AndroidPlatformThermal.h:7
Engine
Source
Runtime
Core
Public
Android
AndroidPlatformThermal.h
Generated by
1.9.8