XblMultiplayerSessionCurrentUserSetQosMeasurements
Sets a collection of XblMultiplayerQosMeasurements for the members. 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
HRESULT XblMultiplayerSessionCurrentUserSetQosMeasurements(
XblMultiplayerSessionHandle handle,
const char* measurements
)
Parameters
handle _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session.
measurements _In_z_
Type: char*
Json representing the QoS measurements of members. Example Json: { "e69c43a8": { // Device token of peer "latency": 5953, // Milliseconds "bandwidthDown" : 19342, // Kilobits per second "bandwidthUp" : 944, // Kilobits per second "custom" : { } }, ... // additional device tokens }
Return value
Type: HRESULT
HRESULT return code for this API operation.
Requirements
Header: multiplayer_c.h
Library: Microsoft.Xbox.Services.141.GSDK.C.lib