Condividi tramite


PerceptionStartFaceAuthenticationHandler Delegato

Definizione

Richiamato quando perceptionFaceAuthenticationGroup passa alla modalità di autenticazione viso.

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 

Parametri

sender
PerceptionFaceAuthenticationGroup

Oggetto PerceptionFaceAuthenticationGroup associato registrato.

Valore restituito

Boolean

bool

True se il gruppo è pronto per la preforma dell'autenticazione viso; in caso contrario, false.

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

Tutti i membri di PerceptionFaceAuthenticationGroup devono modificare tutte le impostazioni per supportare completamente l'autenticazione viso, ad esempio il contrasto o l'esposizione nel dispositivo sottostante i membri IPerceptionFrameProvider. Il gestore restituisce un valore che indica se tutti i membri sono pronti per la preforma dell'autenticazione viso.

Se il gestore restituisce true, tutti i membri rimarranno in questa modalità fino a quando non viene richiamato PerceptionStopFaceAuthenticationHandler associato al gruppo.

Se il gestore restituisce false, i valori IPerceptionFrameProvider non vengono usati per l'autenticazione del viso.

Si applica a