Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Interfaces > API/Developer/TargetPlatform/Interfaces/ITargetPlatformControls > API/Developer/TargetPlatform/Interfaces/ITargetPlatformControls/AddDevice
- ITargetPlatformControls::AddDevice()
- FTargetPlatformControlsBase::AddDevice()
- FTargetPlatformMerged::AddDevice()
References
| Module | TargetPlatform |
| Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatformControls.h |
| Include | #include "Interfaces/ITargetPlatformControls.h" |
bool AddDevice
(
const FString & DeviceName,
bool bDefault
)
Remarks
Add a target device by name. true if the device was added, false otherwise.
Parameters
| Name | Description |
|---|---|
| DeviceName | The name of the device to add. |
| bDefault | Whether the added device should be the default. |