PerceptionFrameProviderInfo.FrameKind 属性

定义

获取或设置设备创建的帧的类型。

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

属性值

String

Platform::String

winrt::hstring

设备创建的帧的类型。 必须是以下项之一:IKnownPerceptionFrameKind::Color、IKnownPerceptionFrameKind::D epth 或 IKnownPerceptionFrameKind::Infrared。

属性

适用于