FTargetDeviceId

Implements a target devices identifier.

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/TargetDeviceId.h

Include

#include "Interfaces/TargetDeviceId.h"

Syntax

class FTargetDeviceId

Remarks

Implements a target devices identifier.

Constructors

Name Description

Public function

FTargetDeviceId()

Default constructor.

Public function

FTargetDeviceId

(
    const FString& InPlatformName,
    const FString& InDeviceName
)

Creates and initializes a new target device identifier.

Functions

Name Description

Public function Const

const FStrin...

 

GetDeviceName()

Gets the device identifier.

Public function Const

const FStrin...

 

GetPlatformName()

Gets the platform name.

Public function Const

bool

 

IsValid()

Checks whether this target device identifier is valid.

Public function Static

bool

 

Parse

(
    const FString& IdString,
    FTargetDeviceId& OutId
)

Converts a string to a target device identifier.

Public function Const

FString

 

ToString()

Gets the string representation for this device identifier.

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FTargetDeviceId& Other
)

Compares this device identifier with the given device identifier for inequality.

Public function Const

bool

 

operator==

(
    const FTargetDeviceId& Other
)

Compares this device identifier with the given device identifier for equality.