AdaptiveMediaSourceDownloadCompletedEventArgs.ResourceContentType 屬性

定義

取得字串,表示與事件相關聯的內容類型。

public:
 property Platform::String ^ ResourceContentType { Platform::String ^ get(); };
winrt::hstring ResourceContentType();
public string ResourceContentType { get; }
var string = adaptiveMediaSourceDownloadCompletedEventArgs.resourceContentType;
Public ReadOnly Property ResourceContentType As String

屬性值

String

Platform::String

winrt::hstring

與事件相關聯的內容類型。

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

備註

這是選擇性的值。 如果在 DASH 資訊清單中找到值,則會設定 屬性。 對於 ResourceTypeMediaSegment的內容,屬性值是使用 DASH 資訊清單的 AdaptationSet@mimeType 屬性來設定。

適用於