Share via


PerceptionFrameProviderInfo.FrameKind Property

Definition

Gets or sets the type of frames the device creates.

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

Property Value

String

Platform::String

winrt::hstring

The type of frames the device creates. Must be one of: IKnownPerceptionFrameKind::Color, IKnownPerceptionFrameKind::Depth, or IKnownPerceptionFrameKind::Infrared.

Attributes

Applies to