ITargetPlatform::AddDevice

Add a target device by name.

Windows
MacOS
Linux

Override Hierarchy

ITargetPlatform::AddDevice()

FTargetPlatformBase::AddDevice()

References

Module

TargetPlatform

Header

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

Include

#include "Interfaces/ITargetPlatform.h"

Syntax

bool AddDevice
(
    const FString & DeviceName,
    bool bDefault
)

Remarks

Add a target device by name.

Returns

true if the device was added, false otherwise.

Parameters

Parameter

Description

DeviceName

The name of the device to add.

bDefault

Whether the added device should be the default.