Condividi tramite


KnownPerceptionFrameKind Classe

Definizione

Stringa utilizzata per identificare la classificazione dei tipi di un frame.

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
Ereditarietà
Object Platform::Object IInspectable KnownPerceptionFrameKind
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Commenti

I valori possibili sono Color, Depth e Infrared.

FrameProviders deve indicare il tipo di fotogrammi restituiti impostando una proprietà FrameKind su IPerceptionFrameProviderInfo che corrisponde a uno dei valori recuperati da questa classe statica.

Ad esempio, se FrameProvider restituisce fotogrammi Color, la proprietà FrameKind degli oggetti IPerceptionFrameProviderInfo del provider deve essere impostata KnownPerceptionFrameKind::Color.

Proprietà

Color

Ottiene la stringa che rappresenta l'oggetto Color FrameKind di perceptionFrameProviderInfo.

Depth

Ottiene la stringa che rappresenta l'oggetto Depth FrameKind di perceptionFrameProviderInfo.

Infrared

Ottiene la stringa che rappresenta il FrameKind infrarosso di perceptionFrameProviderInfo.

Si applica a