Edit

Share via


MultiplayerSession.SetCurrentUserQualityOfServiceServerMeasurementsJson Method

Definition

Sets a JSON string with QoS measurements for the current session member.

public void SetCurrentUserQualityOfServiceServerMeasurementsJson (string valueJson);
abstract member SetCurrentUserQualityOfServiceServerMeasurementsJson : string -> unit
override this.SetCurrentUserQualityOfServiceServerMeasurementsJson : string -> unit
Public Sub SetCurrentUserQualityOfServiceServerMeasurementsJson (valueJson As String)

Parameters

valueJson
String

The JSON string representing the server measurements.

Implements

Microsoft.Xbox.Services.Multiplayer.__IMultiplayerSessionPublicNonVirtuals.SetCurrentUserQualityOfServiceServerMeasurementsJson(System.String)

Remarks

This method is only useful when the title manually manages QoS. If the platform is automatically performing QoS, the title does not need to call this method.

After calling this method, the caller must use MultiplayerService.WriteSessionAsync to write batched local changes to the service.If SetHostDeviceToken is called without calling WriteSessionAsync, it only changes the local session object but does not commit it to the service.

Applies to