Compartilhar via


KnownPerceptionFrameKind Classe

Definição

Uma cadeia de caracteres usada para identificar a classificação de tipo de um quadro.

public ref class KnownPerceptionFrameKind abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class KnownPerceptionFrameKind final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("KnownPerceptionFrameKind may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
class KnownPerceptionFrameKind final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class KnownPerceptionFrameKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("KnownPerceptionFrameKind may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static class KnownPerceptionFrameKind
Public Class KnownPerceptionFrameKind
Herança
Object Platform::Object IInspectable KnownPerceptionFrameKind
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Comentários

Os valores possíveis são Cor, Profundidade e Infravermelho.

FrameProviders deve indicar o tipo de quadros retornados definindo uma propriedade FrameKind no IPerceptionFrameProviderInfo que corresponda a um dos valores recuperados dessa classe estática.

Por exemplo, se o FrameProvider retornar Quadros de cores, a propriedade FrameKind dos objetos IPerceptionFrameProviderInfo do provedor deverá ser definida como KnownPerceptionFrameKind::Color.

Propriedades

Color

Obtém a cadeia de caracteres que representa o FrameKind de cor de um PerceptionFrameProviderInfo.

Depth

Obtém a cadeia de caracteres que representa o FrameKind de profundidade de um PerceptionFrameProviderInfo.

Infrared

Obtém a cadeia de caracteres que representa o FrameKind infravermeário de um PerceptionFrameProviderInfo.

Aplica-se a