PerceptionDepthFrameSource.DeviceKind 属性

定义

获取一个字符串值,该值指示生成深度帧的物理设备的类型。

public:
 property Platform::String ^ DeviceKind { Platform::String ^ get(); };
winrt::hstring DeviceKind();
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
winrt::hstring DeviceKind();
public string DeviceKind { get; }
public string DeviceKind { [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var string = perceptionDepthFrameSource.deviceKind;
Public ReadOnly Property DeviceKind As String

属性值

String

Platform::String

winrt::hstring

一个字符串值,指示生成深度帧的物理设备的类型。

属性

适用于