AdaptiveMediaSource.IsContentTypeSupported(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
bool
Returns a value that indicates whether the content type of the source is supported. true if supported; otherwise, false.