Navigation
API > API/Developer > API/Developer/TargetPlatform
Implements a target devices identifier.
| Name | FTargetDeviceId |
| Type | class |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/TargetDeviceId.h |
| Include Path | #include "Interfaces/TargetDeviceId.h" |
Syntax
class FTargetDeviceId
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | Interfaces/TargetDeviceId.h | ||
FTargetDeviceId
(
const FString& InPlatformName, |
Creates and initializes a new target device identifier. | Interfaces/TargetDeviceId.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DeviceName | FString | Holds the name of the target device. | Interfaces/TargetDeviceId.h | |
| PlatformName | FString | Holds the name of the device's target platform. | Interfaces/TargetDeviceId.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FString & GetDeviceName() |
Gets the device identifier. | Interfaces/TargetDeviceId.h | |
const FString & GetPlatformName() |
Gets the platform name. | Interfaces/TargetDeviceId.h | |
bool IsValid() |
Checks whether this target device identifier is valid. | Interfaces/TargetDeviceId.h | |
FString ToString() |
Gets the string representation for this device identifier. | Interfaces/TargetDeviceId.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool Parse
(
const FString& IdString, |
Converts a string to a target device identifier. | Interfaces/TargetDeviceId.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FTargetDeviceId& Other |
Compares this device identifier with the given device identifier for inequality. | Interfaces/TargetDeviceId.h | |
bool operator==
(
const FTargetDeviceId& Other |
Compares this device identifier with the given device identifier for equality. | Interfaces/TargetDeviceId.h |