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.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.Matchmaker
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class QosResult

    Constructors

    QosResult(string, double?, double?)

    Initializes a new instance of the QosResult class.

    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
    [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
    [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
    [Preserve]
    public string RegionId { get; set; }
    Property Value
    Type Description
    string

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

    In This Article
    Back to top
    Copyright © 2024 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)