AdaptiveMediaSource.IsContentTypeSupported(String) Méthode

Définition

Détermine si le type de contenu de la source est pris en charge.

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

Paramètres

contentType
String

Platform::String

winrt::hstring

Chaîne qui identifie le type de contenu de la source. Il peut s’agir d’un type de contenu HLS (Http Live Streaming) ou Dynamic Adaptive Streaming over HTTP (DASH).

Retours

Boolean

bool

Retourne une valeur qui indique si le type de contenu de la source est pris en charge. true si pris en charge ; sinon, false.

S’applique à