PerceptionFrameProviderManagerService 类

定义

用于管理 IPerceptionFrameProvider 注册和注销的静态方法、PerceptionFaceAuthenticationGroup 注册和取消注册、PerceptionControlGroup 注册和取消注册、PerceptionCorrelationGroup 注册和取消注册、IPerceptionFrameProvider 可用性,以及为 IPerceptionFrameProvider 发布新的 PerceptionFrame。

public ref class PerceptionFrameProviderManagerService 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 PerceptionFrameProviderManagerService 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("PerceptionFrameProviderManagerService may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
class PerceptionFrameProviderManagerService 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 PerceptionFrameProviderManagerService
[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("PerceptionFrameProviderManagerService 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 PerceptionFrameProviderManagerService
Public Class PerceptionFrameProviderManagerService
继承
Object Platform::Object IInspectable PerceptionFrameProviderManagerService
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

方法

PublishFrameForProvider(IPerceptionFrameProvider, PerceptionFrame)

将 PerceptionFrame 发送到服务,以告知正在侦听所提供提供程序的帧的任何应用。 在调用 IPerceptionFrameProvider::Start () 或调用 IPerceptionFrameProvider::Stop () 之后,不应发布帧。

RegisterControlGroup(IPerceptionFrameProviderManager, PerceptionControlGroup)

注册与 IPerceptionFrameProviderManager 关联的 PerceptionControlGroup。

RegisterCorrelationGroup(IPerceptionFrameProviderManager, PerceptionCorrelationGroup)

注册与 IPerceptionFrameProviderManager 关联的 PerceptionCorrelationGroup。

RegisterFaceAuthenticationGroup(IPerceptionFrameProviderManager, PerceptionFaceAuthenticationGroup)

注册与给定 IPerceptionProviderManager 关联的 PerceptionFaceAuthenticationGroup。

RegisterFrameProviderInfo(IPerceptionFrameProviderManager, PerceptionFrameProviderInfo)

注册与给定 IPerceptionFrameProviderManager 关联的 PerceptionFrameProviderInfo。

UnregisterControlGroup(IPerceptionFrameProviderManager, PerceptionControlGroup)

删除以前注册的 PerceptionControlGroup 的注册。

UnregisterCorrelationGroup(IPerceptionFrameProviderManager, PerceptionCorrelationGroup)

取消注册与 IPerceptionFrameProviderManager 关联的 PerceptionCorrelationGroup。

UnregisterFaceAuthenticationGroup(IPerceptionFrameProviderManager, PerceptionFaceAuthenticationGroup)

取消注册与给定 IPerceptionProviderManager 关联的 PerceptionFaceAuthenticationGroup。

UnregisterFrameProviderInfo(IPerceptionFrameProviderManager, PerceptionFrameProviderInfo)

取消注册与给定 IPerceptionProviderManager 关联的 PerceptionFrameProviderInfo。

UpdateAvailabilityForProvider(IPerceptionFrameProvider, Boolean)

设置 IPerceptionFrameProvider 是否可用。

适用于