AdaptiveMediaSourceDownloadStatistics 类

定义

表示一组与 AdaptiveMediaSource.DownloadFailedAdaptiveMediaSource.DownloadCompleted 事件关联的下载统计信息。

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
继承
Object Platform::Object IInspectable AdaptiveMediaSourceDownloadStatistics
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

注解

提供这些值是为了启用遥测收集,不用于在运行时调整应用行为。

属性

ContentBytesReceivedCount

获取事件发生时已收到的字节计数。

TimeToFirstByteReceived

获取系统对内容发出异步 http 请求与从 http 流读取第一个数据块之间的时间窗口。

TimeToHeadersReceived

获取系统对内容发出异步 http 请求和操作完成时间、收到 http 标头的时间窗口。

TimeToLastByteReceived

获取系统对内容发出异步 http 请求与从 http 流读取最后一个数据块之间的时间窗口。

适用于