Navigation
Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > ITargetPlatform > AddDevice
- ITargetPlatform::AddDevice()
References
Module | TargetPlatform |
Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h |
Include | #include "Interfaces/ITargetPlatform.h" |
bool AddDevice ( const [FString](API\Runtime\Core\Containers\FString) & DeviceId, const [FString](API\Runtime\Core\Containers\FString) & DeviceUserFriendlyName, const [FString](API\Runtime\Core\Containers\FString) & Username, const [FString](API\Runtime\Core\Containers\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. |