Navigation
API > API/Runtime > API/Runtime/Core
Interface for communication between the game running on the target device and the connected host pc.
It represents a custom communication channel and may not be implemented on all platforms.
It is meant to be used in development ONLY.
| Name | IPlatformHostCommunication |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformHostCommunication.h |
| Include Path | #include "GenericPlatform/GenericPlatformHostCommunication.h" |
Syntax
class IPlatformHostCommunication
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPlatformHostCommunication() |
Virtual destructor. | GenericPlatform/GenericPlatformHostCommunication.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Available() |
Check if the host communication system is available and can be used. | GenericPlatform/GenericPlatformHostCommunication.h | |
void CloseConnection
(
IPlatformHostSocketPtr Socket |
Close a communication channel previously opened using OpenConnection. | GenericPlatform/GenericPlatformHostCommunication.h | |
void Initialize() |
Initialize the host communication system (done by IPlatformFeaturesModule). | GenericPlatform/GenericPlatformHostCommunication.h | |
bool LaunchOnHost
(
const char* BinaryPath, |
Launch an executable on the connected host PC. | GenericPlatform/GenericPlatformHostCommunication.h | |
IPlatformHostSocketPtr OpenConnection
(
uint32 ProtocolIndex, |
Open a communication channel with the host PC. | GenericPlatform/GenericPlatformHostCommunication.h | |
void Shutdown() |
Shutdown the host communication system (done by IPlatformFeaturesModule). | GenericPlatform/GenericPlatformHostCommunication.h |