Skip to main content

XblMultiplayerSessionCurrentUserSetServerQosMeasurements

Sets measurements JSON for the servers. This is only useful when the title is manually managing QoS. (If the platform is automatically performing QoS, this does not need to be called)

Syntax

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session. measurements   _In_z_
Type: char*
The JSON that represents the server measurements. Example Json: { "server farm a": { "latency": 233 // Milliseconds } }

Return value

Type: HRESULT HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h Library: Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

See also

multiplayer_c
Last modified on October 29, 2026