MediaEncodingProfile.CreateFromStreamAsync(IRandomAccessStream) MediaEncodingProfile.CreateFromStreamAsync(IRandomAccessStream) MediaEncodingProfile.CreateFromStreamAsync(IRandomAccessStream) MediaEncodingProfile.CreateFromStreamAsync(IRandomAccessStream) MediaEncodingProfile.CreateFromStreamAsync(IRandomAccessStream) Method

Definition

Creates an encoding profile from a stream that contains media data.

public : static IAsyncOperation<MediaEncodingProfile> CreateFromStreamAsync(IRandomAccessStream stream)
static IAsyncOperation<MediaEncodingProfile> CreateFromStreamAsync(IRandomAccessStream stream) const;
public static IAsyncOperation<MediaEncodingProfile> CreateFromStreamAsync(IRandomAccessStream stream)
Public Shared Function CreateFromStreamAsync(stream As IRandomAccessStream) As IAsyncOperation(Of MediaEncodingProfile)
Windows.Media.MediaProperties.MediaEncodingProfile.createFromStreamAsync(stream).done( /* Your success and error handlers */ );

Parameters

stream
IRandomAccessStream IRandomAccessStream IRandomAccessStream

The media stream from which to create the profile.

Returns