KnownPerceptionFrameKind KnownPerceptionFrameKind KnownPerceptionFrameKind KnownPerceptionFrameKind KnownPerceptionFrameKind Class

Definition

A string used to identify the type classification of a frame.

public : static class KnownPerceptionFrameKind
static struct winrt::Windows::Devices::Perception::Provider::KnownPerceptionFrameKind
public static class KnownPerceptionFrameKind
Public Shared Class KnownPerceptionFrameKind
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Possible values are Color, Depth, and Infrared.

FrameProviders must indicate the type of frames they return by setting a FrameKind property on the IPerceptionFrameProviderInfo that matches one of the values retrieved from this static class.

For example, if your FrameProvider returns Color frames, the FrameKind property of the IPerceptionFrameProviderInfo objects your provider must be set KnownPerceptionFrameKind::Color.

Properties

Color Color Color Color Color

Gets the string representing the Color FrameKind of a PerceptionFrameProviderInfo.

Depth Depth Depth Depth Depth

Gets the string representing the Depth FrameKind of a PerceptionFrameProviderInfo.

Infrared Infrared Infrared Infrared Infrared

Gets the string representing the Infrared FrameKind of a PerceptionFrameProviderInfo.