chat_manager::process_incoming_data
Delivers data to Game Chat 2 that was received from a remote instance of Game Chat 2.
Syntax
void process_incoming_data(
uint64_t sourceEndpointIdentifier,
uint32_t bufferByteCount,
const void* buffer
)
Parameters
sourceEndpointIdentifier _In_
Type: uint64_t
The identifier associated with an endpoint that was advertised to Game Chat 2 with a previous call to chat_manager::add_remote_user.
bufferByteCount _In_
Type: uint32_t
The size of the data buffer, in bytes.
buffer _In_reads_(bufferByteCount)
Type: void*
The data buffer.
Return value
Type: void
None.
Remarks
When the app's transport layer receives data that originated from a remote instance of Game Chat 2, call this method to deliver the data to the local instance of Game Chat 2. Game Chat 2 then decodes the incoming data and renders it to the local user's device. For more information about processing data frames, see Using the Game Chat 2 C++ API.
Requirements
Header: GameChat2.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles