次の方法で共有


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 属性を使用して設定されます。

適用対象