Compartir a través de


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

HRESULT XblMultiplayerSessionCurrentUserSetServerQosMeasurements(  
         XblMultiplayerSessionHandle handle,  
         const char* measurements  
)  

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.14x.GDK.C.lib

See also

multiplayer_c