AdaptiveMediaSource.IsContentTypeSupported(String) Methode

Definition

Bestimmt, ob der Inhaltstyp der Quelle unterstützt wird.

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

Parameter

contentType
String

Platform::String

winrt::hstring

Eine Zeichenfolge, die den Inhaltstyp der Quelle identifiziert. Dies kann ein HTTP-Livestreaming (HLS) oder ein Dynamisches adaptives Streaming über HTTP (DASH) sein.

Gibt zurück

Boolean

bool

Gibt einen Wert zurück, der angibt, ob der Inhaltstyp der Quelle unterstützt wird. TRUE , wenn unterstützt; Andernfalls false.

Gilt für: