PerceptionFrameProviderInfo.DeviceKind 属性

定义

按类别获取或设置 FrameProvider 类型的描述符,例如“com.contoso.depthcamera.x500”。

public:
 property Platform::String ^ DeviceKind { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DeviceKind();

void DeviceKind(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderInfo may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderInfo may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
winrt::hstring DeviceKind();

void DeviceKind(winrt::hstring value);
public string DeviceKind { get; set; }
public string DeviceKind { [Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderInfo may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderInfo may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] set; }
var string = perceptionFrameProviderInfo.deviceKind;
perceptionFrameProviderInfo.deviceKind = string;
Public Property DeviceKind As String

属性值

String

Platform::String

winrt::hstring

FrameProvider 类型的描述符,例如“com.contoso.depthcamera.x500”。

属性

适用于