Dela via


AdaptiveMediaSourceDownloadFailedEventArgs.ResourceContentType Property

Definition

Gets a string representing the content type associated with the event.

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

Property Value

String

Platform::String

winrt::hstring

The content type associated with the event.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

This value is optional. The property will be set if the value is found in the DASH manifest. For content with a ResourceType of MediaSegment, the property value is set using the DASH manifest’s AdaptationSet@mimeType attribute.

Applies to