docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class QosResult

    Quality of Service (QoS) result for a single region.

    Inheritance
    object
    QosResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Matchmaker.Models
    Assembly: Unity.Services.Matchmaker.dll
    Syntax
    [Preserve]
    [DataContract(Name = "QosResult")]
    public class QosResult

    Constructors

    QosResult(string, double?, 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.

    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).

    double? latency

    The Latency for this QoS region.

    Properties

    Latency

    The Latency for this QoS region.

    Declaration
    [Preserve]
    [DataMember(Name = "latency", IsRequired = true, EmitDefaultValue = true)]
    public double? Latency { get; }
    Property Value
    Type Description
    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]
    [DataMember(Name = "packetLoss", IsRequired = true, EmitDefaultValue = true)]
    public double? PacketLoss { get; }
    Property Value
    Type Description
    double?

    RegionId

    Contains the ID of the QoS region this result belongs to.

    Declaration
    [Preserve]
    [DataMember(Name = "regionId", IsRequired = true, EmitDefaultValue = true)]
    public string RegionId { get; }
    Property Value
    Type Description
    string
    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)