MediaFrameSourceGroup.FindAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.