PerceptionStartFaceAuthenticationHandler Délégué

Définition

Appelé lorsqu’un PerceptionFaceAuthenticationGroup passe en mode d’authentification des visages.

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 

Paramètres

sender
PerceptionFaceAuthenticationGroup

PerceptionFaceAuthenticationGroup associé qui a été inscrit.

Valeur renvoyée

Boolean

bool

True si le groupe est prêt à préformer l’authentification faciale ; sinon, false.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Remarques

Tous les membres de PerceptionFaceAuthenticationGroup sont censés ajuster tous les paramètres pour prendre entièrement en charge l’authentification faciale, comme le contraste ou l’exposition sur l’appareil sous-jacent aux membres IPerceptionFrameProvider. Le gestionnaire retourne si tous les membres sont prêts à préformer l’authentification faciale.

Si le gestionnaire retourne true, tous les membres sont censés rester dans ce mode jusqu’à ce que le gestionnaire PerceptionStopFaceAuthenticationHandler associé au groupe soit appelé.

Si le gestionnaire retourne false, le ou les IPerceptionFrameProvider ne sont pas utilisés pour l’authentification faciale.

S’applique à