docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IQosResult

    Represents the results of QoS measurements for a given region.

    Namespace: Unity.Services.Qos
    Assembly: Unity.Services.QoS.dll
    Syntax
    public interface IQosResult

    Properties

    AverageLatencyMs

    Average latency of QoS measurements to the region.

    Declaration
    int AverageLatencyMs { get; }
    Property Value
    Type Description
    int

    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
    float

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)