PerceptionFrameProviderInfo.FrameKind 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置设备创建的帧的类型。
public:
property Platform::String ^ FrameKind { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring FrameKind();
void FrameKind(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 FrameKind();
void FrameKind(winrt::hstring value);
public string FrameKind { get; set; }
public string FrameKind { [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.frameKind;
perceptionFrameProviderInfo.frameKind = string;
Public Property FrameKind As String
属性值
设备创建的帧的类型。 必须是以下项之一:IKnownPerceptionFrameKind::Color、IKnownPerceptionFrameKind::D epth 或 IKnownPerceptionFrameKind::Infrared。
- 属性