Dela via


MediaFrameSourceGroup.FindAllAsync Method

Definition

Asynchronously retrieves a list of the available media frame source groups on the current device.

public:
 static IAsyncOperation<IVectorView<MediaFrameSourceGroup ^> ^> ^ FindAllAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<MediaFrameSourceGroup>> FindAllAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<MediaFrameSourceGroup>> FindAllAsync();
function findAllAsync()
Public Shared Function FindAllAsync () As IAsyncOperation(Of IReadOnlyList(Of MediaFrameSourceGroup))

Returns

An asynchronous operation that returns a list of MediaFrameSourceGroup objects upon completion.

Attributes

Remarks

If MediaFrameSourceGroup.FindAllAsync() returns zero groups, request the Webcam capability in your Package.appxmanifest file.

Applies to