Navigation
API > API/Developer > API/Developer/DesktopPlatform
Extend from either WIndows or Linux device, since there will be a lot of shared functionality.
| Name | TSteamDeckDevice |
| Type | class |
| Header File | /Engine/Source/Developer/DesktopPlatform/Public/SteamDeck/SteamDeckDevice.h |
| Include Path | #include "SteamDeck/SteamDeckDevice.h" |
Syntax
template<class ParentDeviceClass>
class TSteamDeckDevice : public ParentDeviceClass
Inheritance Hierarchy
- ParentDeviceClass → TSteamDeckDevice
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSteamDeckDevice
(
FString InIpAddr, |
SteamDeck/SteamDeckDevice.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DeviceName | FString | SteamDeck/SteamDeckDevice.h | ||
| IpAddr | FString | SteamDeck/SteamDeckDevice.h | ||
| Password | FString | SteamDeck/SteamDeckDevice.h | ||
| RuntimeOSName | FString | SteamDeck/SteamDeckDevice.h | ||
| UserName | FString | SteamDeck/SteamDeckDevice.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FTargetDeviceId GetId() |
SteamDeck/SteamDeckDevice.h | ||
virtual FString GetName() |
SteamDeck/SteamDeckDevice.h | ||
virtual FString GetOperatingSystemName() |
SteamDeck/SteamDeckDevice.h | ||
virtual bool GetUserCredentials
(
FString& OutUserName, |
SteamDeck/SteamDeckDevice.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TArray< ITargetDevicePtr > DiscoverDevices
(
const ITargetPlatformControls& TargetPlatformControls, |
SteamDeck/SteamDeckDevice.h |