AdaptiveMediaSource.CreateFromStreamAsync メソッド

定義

オーバーロード

CreateFromStreamAsync(IInputStream, Uri, String)

指定された入力ストリームから AdaptiveMediaSource オブジェクトを非同期に作成します。

CreateFromStreamAsync(IInputStream, Uri, String, HttpClient)

指定された入力ストリームから AdaptiveMediaSource オブジェクトを非同期に作成します。

CreateFromStreamAsync(IInputStream, Uri, String)

指定された入力ストリームから AdaptiveMediaSource オブジェクトを非同期に作成します。

public:
 static IAsyncOperation<AdaptiveMediaSourceCreationResult ^> ^ CreateFromStreamAsync(IInputStream ^ stream, Uri ^ uri, Platform::String ^ contentType);
/// [Windows.Foundation.Metadata.Overload("CreateFromStreamAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<AdaptiveMediaSourceCreationResult> CreateFromStreamAsync(IInputStream const& stream, Uri const& uri, winrt::hstring const& contentType);
[Windows.Foundation.Metadata.Overload("CreateFromStreamAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<AdaptiveMediaSourceCreationResult> CreateFromStreamAsync(IInputStream stream, System.Uri uri, string contentType);
function createFromStreamAsync(stream, uri, contentType)
Public Shared Function CreateFromStreamAsync (stream As IInputStream, uri As Uri, contentType As String) As IAsyncOperation(Of AdaptiveMediaSourceCreationResult)

パラメーター

stream
IInputStream

AdaptiveMediaSource の作成元の入力ストリーム。

uri
Uri Uri

ソースの URI (Uniform Resource Identifier) です。 これは、相対 URI を解決するために AdaptiveMediaSource によって使用されます。

contentType
String

Platform::String

winrt::hstring

ソースの MIME コンテンツ タイプを識別する文字列。 HTTP ライブ ストリーミング (HLS) または動的アダプティブ ストリーミング over HTTP (DASH) コンテンツ タイプを指定できます。

戻り値

正常に完了したときに AdaptiveMediaSourceCreationResult を 返します。

属性

こちらもご覧ください

適用対象

CreateFromStreamAsync(IInputStream, Uri, String, HttpClient)

指定された入力ストリームから AdaptiveMediaSource オブジェクトを非同期に作成します。

public:
 static IAsyncOperation<AdaptiveMediaSourceCreationResult ^> ^ CreateFromStreamAsync(IInputStream ^ stream, Uri ^ uri, Platform::String ^ contentType, HttpClient ^ httpClient);
/// [Windows.Foundation.Metadata.Overload("CreateFromStreamWithDownloaderAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<AdaptiveMediaSourceCreationResult> CreateFromStreamAsync(IInputStream const& stream, Uri const& uri, winrt::hstring const& contentType, HttpClient const& httpClient);
[Windows.Foundation.Metadata.Overload("CreateFromStreamWithDownloaderAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<AdaptiveMediaSourceCreationResult> CreateFromStreamAsync(IInputStream stream, System.Uri uri, string contentType, HttpClient httpClient);
function createFromStreamAsync(stream, uri, contentType, httpClient)
Public Shared Function CreateFromStreamAsync (stream As IInputStream, uri As Uri, contentType As String, httpClient As HttpClient) As IAsyncOperation(Of AdaptiveMediaSourceCreationResult)

パラメーター

stream
IInputStream

AdaptiveMediaSource の作成元の入力ストリーム。

uri
Uri Uri

ソースの URI (Uniform Resource Identifier) です。 これは、相対 URI を解決するために AdaptiveMediaSource によって使用されます。

contentType
String

Platform::String

winrt::hstring

ソースの MIME コンテンツ タイプを識別する文字列。 HTTP ライブ ストリーミング (HLS) または動的アダプティブ ストリーミング over HTTP (DASH) コンテンツ タイプを指定できます。

httpClient
HttpClient

AdaptiveMediaSource がリソースのダウンロードに使用する必要がある HttpClient インスタンス。 これにより、要求のカスタム HTTP ヘッダーを指定できます。

戻り値

正常に完了したときに AdaptiveMediaSourceCreationResult を 返します。

属性

こちらもご覧ください

適用対象