Navigation
API > API/Plugins > API/Plugins/PixelStreaming2Input
Interface for a datachannel protocol. The user is not meant to extend this through polymorphism, but rather request the appropriate protocol from the InputHandler and extend it using Add().
| Name | PIXELSTREAMING2IPixelStreaming2DataProtocol |
| Type | class |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Input/Public/IPixelStreaming2DataProtocol.h |
| Include Path | #include "IPixelStreaming2DataProtocol.h" |
Syntax
class PIXELSTREAMING2IPixelStreaming2DataProtocol
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnProtocolUpdated | TMulticastDelegate_NoParams< void > | IPixelStreaming2DataProtocol.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPixelStreaming2DataProtocol() |
IPixelStreaming2DataProtocol.h | ||
TSharedPtr< IPixelStreaming2InputMessage > Add
(
FString Key |
Adds a custom message type, with no message body, to the protocol. | IPixelStreaming2DataProtocol.h | |
TSharedPtr< IPixelStreaming2InputMessage > Add
(
FString Key, |
Adds a custom message type, with associated message structured, to the protocol. | IPixelStreaming2DataProtocol.h | |
TSharedPtr< IPixelStreaming2InputMessage > Find
(
FString Key |
Looks for the supplied message type in this protocol. | IPixelStreaming2DataProtocol.h | |
IPixelStreaming2DataProtocol() |
IPixelStreaming2DataProtocol.h | ||
FOnProtocolUpdated & OnProtocolUpdated () |
Called any time to protocol has a new data type added to it. | IPixelStreaming2DataProtocol.h | |
TSharedPtr< FJsonObject > ToJson() |
IPixelStreaming2DataProtocol.h |