Share via


PerceptionDepthFrameSource.CreateWatcher Method

Definition

Creates a new depth frame source watcher.

public:
 static PerceptionDepthFrameSourceWatcher ^ CreateWatcher();
 static PerceptionDepthFrameSourceWatcher CreateWatcher();
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource.CreateWatcher may be unavailable after Windows Creator Update.  Use Windows.Devices.Enumeration.DeviceInformation.CreateWatcher instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
 static PerceptionDepthFrameSourceWatcher CreateWatcher();
public static PerceptionDepthFrameSourceWatcher CreateWatcher();
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource.CreateWatcher may be unavailable after Windows Creator Update.  Use Windows.Devices.Enumeration.DeviceInformation.CreateWatcher instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static PerceptionDepthFrameSourceWatcher CreateWatcher();
function createWatcher()
Public Shared Function CreateWatcher () As PerceptionDepthFrameSourceWatcher

Returns

A new depth frame source watcher.

Attributes

Applies to