Interface IQosResult
Represents the results of QoS measurements for a given region.
Namespace: Unity.Services.Qos
Syntax
public interface IQosResult
Properties
AverageLatencyMs
Average latency of QoS measurements to the region.
Declaration
int AverageLatencyMs { get; }
Property Value
Type | Description |
---|---|
Int32 | A positive integer, in milliseconds. |
Remarks
The latency is determined by measuring the time between sending a packet and receiving the response for that packet, then taking the average for all responses received. Only packets for which a response was received are considered in the calculation.
PacketLossPercent
Percentage of packet loss observed in QoS measurements to the region.
Declaration
float PacketLossPercent { get; }
Property Value
Type | Description |
---|---|
Single | A positive flow value. The range is 0.0f - 1.0f (0 - 100%). |
Remarks
Packet loss is determined by counting the number of packets for which a response was received from the QoS server, then taking the percentage based on the total number of packets sent.
Region
The identifier for the service's region used in this set of QoS measurements.
Declaration
string Region { get; }
Property Value
Type | Description |
---|---|
String | A string containing the region name. |