Edit

Share via


MultiplayerQualityOfServiceMeasurements Class

Definition

Represents matchmaking quality of service (QoS) measurements for the network used by a session member.

[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Xbox.Services.Multiplayer.__IMultiplayerQualityOfServiceMeasurementsFactory), 1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class MultiplayerQualityOfServiceMeasurements
type MultiplayerQualityOfServiceMeasurements = class
    interface __IMultiplayerQualityOfServiceMeasurementsPublicNonVirtuals
Public NotInheritable Class MultiplayerQualityOfServiceMeasurements
Inheritance
MultiplayerQualityOfServiceMeasurements
Attributes
Windows.Foundation.Metadata.ActivatableAttribute Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Examples

The following example shows the format of the JSON object that represents this class:

"measurement=": {
    "latency": 5953,
    "bandwidthDown" : 19342,
    "bandwidthUp" : 944,
    "custom" : {}
}

Constructors

MultiplayerQualityOfServiceMeasurements(String, TimeSpan, UInt64, UInt64, String)

Creates a new MultiplayerQualityOfServiceMeasurements object for a session member.

Properties

BandwidthDownInKilobitsPerSecond

The minimum bandwidth down, in kilobits per second, for downloading data from the host to the session member.

BandwidthUpInKilobitsPerSecond

The minimum bandwidth up, in kilobits per second, for uploading data from the session member to the host.

CustomJson

A JSON string that specifies the custom QoS properties.

Latency

The measured latency, in milliseconds, for the session member.

MemberDeviceToken

The device token of the session member that this measurement is for.

Applies to