共用方式為


PerceptionStartFaceAuthenticationHandler 代理人

定義

當 PerceptionFaceAuthenticationGroup 進入臉部驗證模式時叫用。

public delegate bool PerceptionStartFaceAuthenticationHandler(PerceptionFaceAuthenticationGroup ^ sender);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1954639146, 8336, 18032, 140, 72, 239, 57, 231, 255, 124, 38)]
class PerceptionStartFaceAuthenticationHandler : MulticastDelegate
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1954639146, 8336, 18032, 140, 72, 239, 57, 231, 255, 124, 38)]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionStartFaceAuthenticationHandler may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
class PerceptionStartFaceAuthenticationHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1954639146, 8336, 18032, 140, 72, 239, 57, 231, 255, 124, 38)]
public delegate bool PerceptionStartFaceAuthenticationHandler(PerceptionFaceAuthenticationGroup sender);
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1954639146, 8336, 18032, 140, 72, 239, 57, 231, 255, 124, 38)]
[Windows.Foundation.Metadata.Deprecated("PerceptionStartFaceAuthenticationHandler may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public delegate bool PerceptionStartFaceAuthenticationHandler(PerceptionFaceAuthenticationGroup sender);
var perceptionStartFaceAuthenticationHandlerHandler = function(sender){
/* Your code */
}
Public Delegate Function PerceptionStartFaceAuthenticationHandler(sender As PerceptionFaceAuthenticationGroup) As Boolean 

參數

sender
PerceptionFaceAuthenticationGroup

已註冊的相關聯 PerceptionFaceAuthenticationGroup。

傳回值

Boolean

bool

True 是表示 如果群組已準備好預先建立臉部驗證;否則為 false。

屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

PerceptionFaceAuthenticationGroup 的所有成員預期都會調整任何設定,以完全支援臉部驗證,例如 IPerceptionFrameProvider 成員基礎裝置上的對比或曝光。 處理常式會傳回所有成員是否都準備好預先建立臉部驗證。

如果處理常式傳回 true,則在叫用與群組相關聯的 PerceptionStopFaceAuthenticationHandler 之前,所有成員預期都會維持在這個模式中。

如果處理常式傳回 false,則不會使用 IPerceptionFrameProvider () 來進行臉部驗證。

適用於