Class QosResult
Quality of Service (QoS) result for a single region.
Namespace: Unity.Services.Matchmaker.Models
Syntax
[Preserve]
public class QosResult
Constructors
QosResult(String, Nullable<Double>, Nullable<Double>)
Quality of Service (QoS) result for a single region.
Declaration
[Preserve]
public QosResult(string regionId, double? packetLoss, double? latency)
Parameters
Type | Name | Description |
---|---|---|
String | regionId | Contains the ID of the QoS region this result belongs to. |
Nullable<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). |
Nullable<Double> | latency | The Latency for this QoS region. |
Properties
Latency
The Latency for this QoS region.
Declaration
[Preserve]
public double? Latency { get; }
Property Value
Type | Description |
---|---|
Nullable<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).
Declaration
[Preserve]
public double? PacketLoss { get; }
Property Value
Type | Description |
---|---|
Nullable<Double> |
RegionId
Contains the ID of the QoS region this result belongs to.
Declaration
[Preserve]
public string RegionId { get; }
Property Value
Type | Description |
---|---|
String |