UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IOSPlatformApplicationMisc.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7
9
11{
12 static void LoadPreInitModules();
13
17 static bool IsScreensaverEnabled();
18 static bool ControlScreensaver(EScreenSaverAction Action);
19
20 static void SetGamepadsAllowed(bool bAllowed);
21 static void SetGamepadsBlockDeviceFeedback(bool bBlock);
22 static void ResetGamepadAssignments();
23 static void ResetGamepadAssignmentToController(int32 ControllerId);
24 static bool IsControllerAssignedToGamepad(int32 ControllerId);
26
27 static void EnableMotionData(bool bEnable);
28 static bool IsMotionDataEnabled();
29
30 static void ClipboardCopy(const TCHAR* Str);
31 static void ClipboardPaste(class FString& Dest);
32
35
36 static bool RequiresVirtualKeyboard();
37
38private:
39 static class FIOSApplication* CachedApplication;
40
41 friend class FIOSGamepadUtils;
42 static FGetGamePadGlyphDelegate GetGamePadGlyphDelegate;
43};
44
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_DELEGATE_RetVal_TwoParams(ReturnValueType, DelegateName, Param1Type, Param2Type)
Definition DelegateCombinations.h:63
EScreenPhysicalAccuracy
Definition GenericPlatformApplicationMisc.h:27
FIOSPlatformApplicationMisc FPlatformApplicationMisc
Definition IOSPlatformApplicationMisc.h:45
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition FeedbackContext.h:30
Definition IOSApplication.h:12
Definition IOSGamepadUtils.h:13
Definition NameTypes.h:617
Definition OutputDeviceError.h:10
Definition GenericApplication.h:437
Definition Texture2D.h:26
Definition GenericPlatformApplicationMisc.h:70
static APPLICATIONCORE_API void ClipboardPaste(class FString &Dest)
Definition GenericPlatformApplicationMisc.cpp:117
static void ResetGamepadAssignments()
Definition GenericPlatformApplicationMisc.h:242
static APPLICATIONCORE_API FFeedbackContext * GetFeedbackContext()
Definition GenericPlatformApplicationMisc.cpp:73
static APPLICATIONCORE_API EScreenPhysicalAccuracy ComputePhysicalScreenDimensions(FVector2f &OutScreenDimensions, float &OutScreenSize)
Definition GenericPlatformApplicationMisc.cpp:143
static bool IsScreensaverEnabled()
Definition GenericPlatformApplicationMisc.h:157
static bool IsControllerAssignedToGamepad(int32 ControllerId)
Definition GenericPlatformApplicationMisc.h:254
static bool IsMotionDataEnabled()
Definition GenericPlatformApplicationMisc.h:289
static class UTexture2D * GetGamepadButtonGlyph(const FGamepadKeyNames::Type &ButtonKey, uint32 ControllerIndex)
Definition GenericPlatformApplicationMisc.h:274
EScreenSaverAction
Definition GenericPlatformApplicationMisc.h:146
static APPLICATIONCORE_API class GenericApplication * CreateApplication()
Definition GenericPlatformApplicationMisc.cpp:83
static APPLICATIONCORE_API void ClipboardCopy(const TCHAR *Str)
Definition GenericPlatformApplicationMisc.cpp:113
static APPLICATIONCORE_API bool RequiresVirtualKeyboard()
Definition GenericPlatformApplicationMisc.cpp:98
static APPLICATIONCORE_API EScreenPhysicalAccuracy ComputePhysicalScreenDensity(int32 &OutScreenDensity)
Definition GenericPlatformApplicationMisc.cpp:137
static void SetGamepadsAllowed(bool bAllowed)
Definition GenericPlatformApplicationMisc.h:230
static bool ControlScreensaver(EScreenSaverAction Action)
Definition GenericPlatformApplicationMisc.h:168
static void ResetGamepadAssignmentToController(int32 ControllerId)
Definition GenericPlatformApplicationMisc.h:248
static void LoadPreInitModules()
Definition GenericPlatformApplicationMisc.h:82
static void SetGamepadsBlockDeviceFeedback(bool bAllowed)
Definition GenericPlatformApplicationMisc.h:236
static APPLICATIONCORE_API FOutputDeviceError * GetErrorOutputDevice()
Definition GenericPlatformApplicationMisc.cpp:68
static void EnableMotionData(bool bEnable)
Definition GenericPlatformApplicationMisc.h:283
Definition IOSPlatformApplicationMisc.h:11