Share via


XboxLiveQualityOfServiceMeasurement.GetMetricResultsForDevice Method

Definition

Gets all metric results for a given device.

Your code specifies a set of metrics, device addresses, timeouts, and number of probes to attempt, and then calls XboxLiveQualityOfServiceMeasurement.MeasureAsync to begin making the specified measurements. You can call GetMetricResultsForDevice at any time while measurements are in progress or after they have finished, and retrieve current values. Note that if you repeatedly call GetMetricResultsForDevice, and inspect a given metric while the relevant measurements are in progress, you might get different values as the measurement proceeds.

Important

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

public:
 virtual IVectorView<XboxLiveQualityOfServiceMetricResult ^> ^ GetMetricResultsForDevice(XboxLiveDeviceAddress ^ deviceAddress) = GetMetricResultsForDevice;
IVectorView<XboxLiveQualityOfServiceMetricResult> GetMetricResultsForDevice(XboxLiveDeviceAddress const& deviceAddress);
public IReadOnlyList<XboxLiveQualityOfServiceMetricResult> GetMetricResultsForDevice(XboxLiveDeviceAddress deviceAddress);
function getMetricResultsForDevice(deviceAddress)
Public Function GetMetricResultsForDevice (deviceAddress As XboxLiveDeviceAddress) As IReadOnlyList(Of XboxLiveQualityOfServiceMetricResult)

Parameters

deviceAddress
XboxLiveDeviceAddress

The address of the device.

Returns

A list of metric results.

Applies to