Udostępnij za pośrednictwem


AdaptiveMediaSourceDownloadStatistics Class

Definition

Represents a set of download statistics associated with the AdaptiveMediaSource.DownloadFailed and AdaptiveMediaSource.DownloadCompleted events.

public ref class AdaptiveMediaSourceDownloadStatistics sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AdaptiveMediaSourceDownloadStatistics final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AdaptiveMediaSourceDownloadStatistics
Public NotInheritable Class AdaptiveMediaSourceDownloadStatistics
Inheritance
Object Platform::Object IInspectable AdaptiveMediaSourceDownloadStatistics
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

These values are provided to enable telemetry collection and are not intended to be used to adjust app behavior at runtime.

Properties

ContentBytesReceivedCount

Gets the count of bytes that have been received at the time of the event.

TimeToFirstByteReceived

Gets the time window between when the system makes the asyncronous http request for the content and when the first block of data has been read from the http stream.

TimeToHeadersReceived

Gets the time window between when the system makes the asyncronous http request for the content and when the operation completes, when the http headers have been received.

TimeToLastByteReceived

Gets the time window between when the system makes the asyncronous http request for the content and when the last block of data has been read from the http stream.

Applies to