Class QosResult
Quality of Service (QoS) result for a single region.
Inherited Members
Namespace: Unity.Services.Apis.Matchmaker
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "QosResult")]
[Preserve]
public class QosResult
Constructors
QosResult(string, double?, double?)
Initializes a new instance of the Qos
Declaration
[Preserve]
public QosResult(string regionId = null, double? packetLoss = null, double? latency = null)
Parameters
Type | Name | Description |
---|---|---|
string | regionId | Contains the ID of the QoS region this result belongs to. (required). |
double? | packetLoss | The Packet Loss for this QoS region. This is a ratio, value should be between 0.0 (no loss) and 1.0 (100% packet loss). (required). |
double? | latency | The Latency for this QoS region. (required). |
Properties
Latency
The Latency for this QoS region.
Declaration
[DataMember(Name = "latency", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public double? Latency { get; set; }
Property Value
Type | Description |
---|---|
double? | The Latency for this QoS region. |
PacketLoss
The Packet Loss for this QoS region. This is a ratio, value should be between 0.0 (no loss) and 1.0 (100% packet loss).
Declaration
[DataMember(Name = "packetLoss", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public double? PacketLoss { get; set; }
Property Value
Type | Description |
---|---|
double? | The Packet Loss for this QoS region. This is a ratio, value should be between 0.0 (no loss) and 1.0 (100% packet loss). |
RegionId
Contains the ID of the QoS region this result belongs to.
Declaration
[DataMember(Name = "regionId", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string RegionId { get; set; }
Property Value
Type | Description |
---|---|
string | Contains the ID of the QoS region this result belongs to. |