KnownPerceptionFrameKind KnownPerceptionFrameKind KnownPerceptionFrameKind KnownPerceptionFrameKind Class

Definition

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

public : static class KnownPerceptionFrameKindpublic static class KnownPerceptionFrameKindPublic Static Class KnownPerceptionFrameKind// You can use this class in JavaScript.
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

Gets the string representing the Color FrameKind of a PerceptionFrameProviderInfo.

public : static PlatForm::String Color { get; }public static string Color { get; }Public Static ReadOnly Property Color As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The string representing the Color FrameKind of a PerceptionFrameProviderInfo.

Depth Depth Depth Depth

Gets the string representing the Depth FrameKind of a PerceptionFrameProviderInfo.

public : static PlatForm::String Depth { get; }public static string Depth { get; }Public Static ReadOnly Property Depth As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The string representing the Depth FrameKind of a PerceptionFrameProviderInfo.

Infrared Infrared Infrared Infrared

Gets the string representing the Infrared FrameKind of a PerceptionFrameProviderInfo.

public : static PlatForm::String Infrared { get; }public static string Infrared { get; }Public Static ReadOnly Property Infrared As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The string representing the Infrared FrameKind of a PerceptionFrameProviderInfo.