Interface IQosResults
An interface that allows access to QoS measurements. For use by other Operate packages through the Core Services SDK.
Namespace: Unity.Services.Qos.Internal
Assembly: Unity.Services.Core.Internal.dll
Syntax
[RequireImplementors]
public interface IQosResults : IServiceComponent
Methods
GetSortedQosResultsAsync(string, IList<string>)
Gets sorted QoS measurements the specified service and regions.
Declaration
Task<IList<QosResult>> GetSortedQosResultsAsync(string service, IList<string> regions)
Parameters
Type | Name | Description |
---|---|---|
string | service | The service to query regions for QoS. |
IList<string> | regions | The regions to query for QoS. If not null or empty, |
Returns
Type | Description |
---|---|
Task<IList<QosResult>> | Returns the sorted list of QoS results, ordered from best to worst. |
Remarks
GetSortedQosResultsAsync
doesn't consider the returned regions until applying the services and regions filters.
If you specify regions, it only includes those regions.