Navigation
API > API/Plugins > API/Plugins/PixelStreaming2Input
References
| Module | PixelStreaming2Input |
| Header | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Input/Public/IPixelStreaming2DataProtocol.h |
| Include | #include "IPixelStreaming2DataProtocol.h" |
Syntax
class PIXELSTREAMING2IPixelStreaming2DataProtocol
Remarks
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().
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< IPixelStreaming2InputMessage > | Adds a custom message type, with no message body, to the protocol. | ||
| TSharedPtr< IPixelStreaming2InputMessage > | Add
(
FString Key, |
Adds a custom message type, with associated message structured, to the protocol. | |
| TSharedPtr< IPixelStreaming2InputMessage > | Looks for the supplied message type in this protocol. | ||
| FOnProtocolUpdated & | Called any time to protocol has a new data type added to it. | ||
| TSharedPtr< FJsonObject > | ToJson () |
Typedefs
| Name | Description |
|---|---|
| FOnProtocolUpdated |