UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AndroidPlatformProperties.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*================================================================================
4 AndroidProperties.h - Basic static properties of a platform
5 These are shared between:
6 the runtime platform - via FPlatformProperties
7 the target platforms - via ITargetPlatform
8==================================================================================*/
9
10#pragma once
11
12#include "CoreTypes.h"
14
15#define ANDROID_DEFAULT_DEVICE_PROFILE_NAME TEXT("Android_Default")
16
22{
23 static constexpr UE_FORCEINLINE_HINT bool HasEditorOnlyData()
24 {
25 return false;
26 }
27
28 static constexpr UE_FORCEINLINE_HINT const char* PlatformName()
29 {
30 return "Android";
31 }
32
33 static constexpr UE_FORCEINLINE_HINT const char* IniPlatformName()
34 {
35 return "Android";
36 }
37
39 {
40 return TEXT("/Script/AndroidRuntimeSettings.AndroidRuntimeSettings");
41 }
42
43 static constexpr UE_FORCEINLINE_HINT bool IsGameOnly()
44 {
45 return true;
46 }
47
49 {
50 return true;
51 }
52
54 {
55 return (TargetType == EBuildTargetType::Game);
56 }
57
58 static constexpr UE_FORCEINLINE_HINT bool SupportsAutoSDK()
59 {
60 return true;
61 }
62
64 {
65 return true; // always true because of Vulkan
66 }
67
69 {
70 return true;
71 }
72
74 {
75 return true;
76 }
77
79 {
80 return true;
81 }
82
83 static constexpr UE_FORCEINLINE_HINT bool SupportsMinimize()
84 {
85 return true;
86 }
87
88 static constexpr UE_FORCEINLINE_HINT bool SupportsQuit()
89 {
90 return true;
91 }
92
94 {
95 return true;
96 }
97
99 {
100 return true;
101 }
102
104 {
105 return true;
106 }
107
109 {
110 return true;
111 }
112
114 {
115 return true;
116 }
117
119 {
120 return true;
121 }
122
124 {
125 return true;
126 }
127
129 {
130 return true;
131 }
132
134 {
135 // Cook for largest page size available.
136 // Data cooked for 16kb page size will work for 4kb page size firmware.
137 // TODO: THIS IS WRONG!
138 return 16384;
139 }
140};
141
142#ifdef PROPERTY_HEADER_SHOULD_DEFINE_TYPE
144#endif
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
#define UE_FORCEINLINE_HINT
Definition Platform.h:723
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EBuildTargetType
Definition GenericPlatformMisc.h:158
Definition AndroidPlatformProperties.h:22
static constexpr UE_FORCEINLINE_HINT bool RequiresCookedData()
Definition AndroidPlatformProperties.h:48
static constexpr UE_FORCEINLINE_HINT bool AllowsCallStackDumpDuringAssert()
Definition AndroidPlatformProperties.h:103
static constexpr UE_FORCEINLINE_HINT bool AllowsFramerateSmoothing()
Definition AndroidPlatformProperties.h:98
static constexpr UE_FORCEINLINE_HINT bool SupportsMeshLODStreaming()
Definition AndroidPlatformProperties.h:113
static constexpr UE_FORCEINLINE_HINT bool HasEditorOnlyData()
Definition AndroidPlatformProperties.h:23
static UE_FORCEINLINE_HINT bool SupportsBuildTarget(EBuildTargetType TargetType)
Definition AndroidPlatformProperties.h:53
static constexpr UE_FORCEINLINE_HINT const TCHAR * GetRuntimeSettingsClassName()
Definition AndroidPlatformProperties.h:38
static constexpr UE_FORCEINLINE_HINT const char * PlatformName()
Definition AndroidPlatformProperties.h:28
static constexpr UE_FORCEINLINE_HINT bool SupportsHighQualityLightmaps()
Definition AndroidPlatformProperties.h:63
static constexpr UE_FORCEINLINE_HINT bool SupportsQuit()
Definition AndroidPlatformProperties.h:88
static constexpr UE_FORCEINLINE_HINT int64 GetMemoryMappingAlignment()
Definition AndroidPlatformProperties.h:133
static constexpr UE_FORCEINLINE_HINT bool SupportsMemoryMappedFiles()
Definition AndroidPlatformProperties.h:118
static constexpr UE_FORCEINLINE_HINT bool SupportsMemoryMappedAudio()
Definition AndroidPlatformProperties.h:123
static constexpr UE_FORCEINLINE_HINT bool SupportsAudioStreaming()
Definition AndroidPlatformProperties.h:108
static constexpr UE_FORCEINLINE_HINT bool IsGameOnly()
Definition AndroidPlatformProperties.h:43
static constexpr UE_FORCEINLINE_HINT bool SupportsAutoSDK()
Definition AndroidPlatformProperties.h:58
static constexpr UE_FORCEINLINE_HINT bool SupportsMemoryMappedAnimation()
Definition AndroidPlatformProperties.h:128
static constexpr UE_FORCEINLINE_HINT bool HasFixedResolution()
Definition AndroidPlatformProperties.h:93
static constexpr UE_FORCEINLINE_HINT bool SupportsTextureStreaming()
Definition AndroidPlatformProperties.h:78
static constexpr UE_FORCEINLINE_HINT bool SupportsMinimize()
Definition AndroidPlatformProperties.h:83
static constexpr UE_FORCEINLINE_HINT bool SupportsLowQualityLightmaps()
Definition AndroidPlatformProperties.h:68
static constexpr UE_FORCEINLINE_HINT bool SupportsDistanceFieldShadows()
Definition AndroidPlatformProperties.h:73
static constexpr UE_FORCEINLINE_HINT const char * IniPlatformName()
Definition AndroidPlatformProperties.h:33
Definition GenericPlatformProperties.h:17