Navigation
API > API/Plugins > API/Plugins/PixelStreaming2Input > API/Plugins/PixelStreaming2Input/IPixelStreaming2DataProtocol
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
Add(FString)
Description
Adds a custom message type, with no message body, to the protocol.
| Name | Add |
| Type | function |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Input/Public/IPixelStreaming2DataProtocol.h |
| Include Path | #include "IPixelStreaming2DataProtocol.h" |
TSharedPtr < IPixelStreaming2InputMessage > Add
(
FString Key
)
True if the new message was added to the protocol (fails if key is already present).
Parameters
| Name | Remarks |
|---|---|
| Key | The string identifier used to uniquely identify and query this message inside the protocol. |
Add(FString, TArray< EPixelStreaming2MessageTypes >)
Description
Adds a custom message type, with associated message structured, to the protocol.
| Name | Add |
| Type | function |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Input/Public/IPixelStreaming2DataProtocol.h |
| Include Path | #include "IPixelStreaming2DataProtocol.h" |
TSharedPtr < IPixelStreaming2InputMessage > Add
(
FString Key,
TArray < EPixelStreaming2MessageTypes > InStructure
)
True if the new message was added to the protocol (fails if key is already present).
Parameters
| Name | Remarks |
|---|---|
| Key | The string identifier used to uniquely identify and query this message inside the protocol. |