PerceptionFrameProviderInfo.DeviceKind 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按类别获取或设置 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
属性值
FrameProvider 类型的描述符,例如“com.contoso.depthcamera.x500”。
- 属性