UDeviceProfileManager::GetActiveProfileName

Get the selected device profile name, either the platform name, or the name provided by a Device Profile Selector Module.

Windows
MacOS
Linux

Deprecated

  • Use either GetActiveDeviceProfileName to have the current active device profile or GetPlatformDeviceProfileName to have the default one. Note, GetActiveDeviceProfileName will fallback on GetPlatformDeviceProfileName, if there is no active device profile

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/DeviceProfiles/DeviceProfileManager.h

Include

#include "DeviceProfiles/DeviceProfileManager.h"

Source

/Engine/Source/Runtime/Engine/Private/DeviceProfiles/DeviceProfileManager.cpp

Syntax

static const FString GetActiveProfileName()

Remarks

Get the selected device profile name, either the platform name, or the name provided by a Device Profile Selector Module.

Returns

The selected profile.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss