Interface IQosService
An interface that allows access to QoS measurements. Your game code should use this interface through
QosService.Instance.
Namespace: Unity.Services.Qos
Syntax
public interface IQosService
Methods
GetSortedQosResultsAsync(String, IList<String>)
Gets sorted QoS measurements the specified service and regions.
Declaration
Task<IList<IQosResult>> 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<IQosResult>> | 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.