Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Common > API/Developer/TargetPlatform/Common/FTargetPlatformMerged > API/Developer/TargetPlatform/Common/FTargetPlatformMerged/AddDevice
- ITargetPlatformControls::AddDevice()
- FTargetPlatformMerged::AddDevice()
References
| Module | TargetPlatform |
| Header | /Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h |
| Include | #include "Common/TargetPlatformBase.h" |
virtual bool AddDevice
(
const FString & DeviceId,
const FString & DeviceUserFriendlyName,
const FString & Username,
const FString & Password,
bool bDefault
)
Remarks
Add a target device. true if the device was added, false otherwise.
Parameters
| Name | Description |
|---|---|
| DeviceId | The id of the device to add. |
| DeviceUserFriendlyName | The user friendly name of the device to add. |
| Username | The username for the device to add. |
| Password | The password for the device to add. |
| bDefault | Whether the added device should be the default. |