Navigation
API > API/Plugins > API/Plugins/PixelStreaming2Input > API/Plugins/PixelStreaming2Input/PIXELSTREAMING2IPixelStreaming2I-
References
| Module | PixelStreaming2Input |
| Header | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Input/Public/IPixelStreaming2InputHandler.h |
| Include | #include "IPixelStreaming2InputHandler.h" |
void RegisterMessageHandler
(
const FString & MessageType,
const MessageHandlerFn & Handler
)
Remarks
Register a function to be called whenever the specified message type is received.
Parameters
| Name | Description |
|---|---|
| MessageType | The human readable identifier for the message |
| Handler | The function called when this message type is received. This handler must take a single parameter (an FMemoryReader) and have a return type of void |