AdaptiveMediaSource.IsContentTypeSupported(String) Method

Definition

Determines whether the content type of the source is supported.

public:
 static bool IsContentTypeSupported(Platform::String ^ contentType);
 static bool IsContentTypeSupported(winrt::hstring const& contentType);
public static bool IsContentTypeSupported(string contentType);
function isContentTypeSupported(contentType)
Public Shared Function IsContentTypeSupported (contentType As String) As Boolean

Parameters

contentType
String

Platform::String

winrt::hstring

A string that identifies the content type of the source. Can be a Http Live Streaming (HLS) or Dynamic Adaptive Streaming over HTTP (DASH) content type.

Returns

Boolean

bool

Returns a value that indicates whether the content type of the source is supported. true if supported; otherwise, false.

Applies to