MediaSource.CreateFromStreamReference Método

Definición

Crea una instancia de MediaSource a partir del IRandomAccessStreamReference proporcionado.

public:
 static MediaSource ^ CreateFromStreamReference(IRandomAccessStreamReference ^ stream, Platform::String ^ contentType);
 static MediaSource CreateFromStreamReference(IRandomAccessStreamReference const& stream, winrt::hstring const& contentType);
public static MediaSource CreateFromStreamReference(IRandomAccessStreamReference stream, string contentType);
function createFromStreamReference(stream, contentType)
Public Shared Function CreateFromStreamReference (stream As IRandomAccessStreamReference, contentType As String) As MediaSource

Parámetros

stream
IRandomAccessStreamReference

Referencia de secuencia desde la que se crea MediaSource .

contentType
String

Platform::String

winrt::hstring

Tipo MIME del contenido de la secuencia.

Devoluciones

Nuevo origen multimedia.

Se aplica a