Dela via


MediaCapture.CreateMultiSourceFrameReaderAsync Method

Definition

Creates a MultiSourceMediaFrameReader that is used to acquire time-correlated frames from one or more MediaFrameSource objects.

public:
 virtual IAsyncOperation<MultiSourceMediaFrameReader ^> ^ CreateMultiSourceFrameReaderAsync(IIterable<MediaFrameSource ^> ^ inputSources) = CreateMultiSourceFrameReaderAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MultiSourceMediaFrameReader> CreateMultiSourceFrameReaderAsync(IIterable<MediaFrameSource> const& inputSources);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MultiSourceMediaFrameReader> CreateMultiSourceFrameReaderAsync(IEnumerable<MediaFrameSource> inputSources);
function createMultiSourceFrameReaderAsync(inputSources)
Public Function CreateMultiSourceFrameReaderAsync (inputSources As IEnumerable(Of MediaFrameSource)) As IAsyncOperation(Of MultiSourceMediaFrameReader)

Parameters

inputSources

IIterable<MediaFrameSource>

IEnumerable<MediaFrameSource>

A IIterable list of MediaFrameSource objects to be used by the frame reader.

Returns

An asynchronous operation that returns a MultiSourceMediaFrameReader upon successful completion.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
backgroundMediaRecording

Applies to