MultiplayerSession.SetCurrentUserQualityOfServiceServerMeasurementsJson Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.