IManifestStream.DownloadFragmentAsync Method

Applies to: Windows Store apps only

Downloads the fragment data for the given chunk iterator through async call.

Syntax

public IAsyncOperation<IBuffer> DownloadFragmentAsync(
IChunkIter pChunkIter,
IManifestTrack pTrack
)
public:
virtual IAsyncOperation<IBuffer^>^ DownloadFragmentAsync(
[InAttribute] IChunkIter^ pChunkIter,
[InAttribute] IManifestTrack^ pTrack
) sealed
public final function DownloadFragmentAsync(
pChunkIter : IChunkIter,
pTrack : IManifestTrack
) : IAsyncOperation<IBuffer>

Parameters

  • pChunkIter
    [in] The pointer to the chunk iterator.

  • pTrack
    [in] The pointer to the track.

  • ppAsyncInfo
    [out] The async operation result with fragment data in IBuffer.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Not Supported

Metadata

Microsoft.Media.AdaptiveStreaming.winmd