PerceptionDepthFrameSource.FindAllAsync Method

Definition

Finds all depth frame sources.

public:
 static IAsyncOperation<IVectorView<PerceptionDepthFrameSource ^> ^> ^ FindAllAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<PerceptionDepthFrameSource>> FindAllAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource.FindAllAsync may be unavailable after Windows Creator Update.  Use Windows.Devices.Enumeration.DeviceInformation.FindAllAsync instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<IVectorView<PerceptionDepthFrameSource>> FindAllAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<PerceptionDepthFrameSource>> FindAllAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource.FindAllAsync may be unavailable after Windows Creator Update.  Use Windows.Devices.Enumeration.DeviceInformation.FindAllAsync instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<IReadOnlyList<PerceptionDepthFrameSource>> FindAllAsync();
function findAllAsync()
Public Shared Function FindAllAsync () As IAsyncOperation(Of IReadOnlyList(Of PerceptionDepthFrameSource))

Returns

IAsyncOperation<IVectorView<PerceptionDepthFrameSource>>

IAsyncOperation<IReadOnlyList<PerceptionDepthFrameSource>>

When the method completes, it asynchronously returns a list of depth frame sources.

Attributes

Applies to