Navigation
API > API/Developer > API/Developer/TargetPlatform
Interface for target platforms.
This interface is only left for compatibility with platforms that have not been updated to TargetPlatformSettings and TargetPlatformControls Please only add new functions to ITargetPlatformSettings(if the sdk is not required) or ITargetPlatformControls(if the sdk is required)
| Name | ITargetPlatform |
| Type | class |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h |
| Include Path | #include "Interfaces/ITargetPlatform.h" |
Syntax
class ITargetPlatform :
public ITargetPlatformSettings ,
public ITargetPlatformControls
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ITargetPlatform() |
Interfaces/ITargetPlatform.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ITargetPlatform() |
Virtual destructor. | Interfaces/ITargetPlatform.h |
Classes
| Name | Remarks |
|---|---|
| FOnTargetDeviceDiscovered | Gets an event delegate that is executed when a new target device has been discovered. |
| FOnTargetDeviceLost | Gets an event delegate that is executed when a target device has been lost, i.e. disconnected or timed out. |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ITargetPlatformControls * GetTargetPlatformControls() |
Interfaces/ITargetPlatform.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 AssignPlatformOrdinal
(
const ITargetPlatform& Platform |
Interfaces/ITargetPlatform.h | ||
static const ITargetPlatform * GetPlatformFromOrdinal
(
int32 Ordinal |
Given a platform ordinal number, returns the corresponding ITargetPlatform instance | Interfaces/ITargetPlatform.h | |
static FOnTargetDeviceDiscovered & OnDeviceDiscovered() |
Interfaces/ITargetPlatform.h | ||
static FOnTargetDeviceLost & OnDeviceLost() |
Interfaces/ITargetPlatform.h |