Bagikan melalui


PerceptionStartFaceAuthenticationHandler Delegasikan

Definisi

Dipanggil saat PerceptionFaceAuthenticationGroup memasuki mode Autentikasi Wajah.

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 

Parameter

sender
PerceptionFaceAuthenticationGroup

PerceptionFaceAuthenticationGroup terkait yang terdaftar.

Tampilkan Nilai

Boolean

bool

True jika grup siap melakukan praformasi Autentikasi Wajah; jika tidak, salah.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Keterangan

Semua anggota PerceptionFaceAuthenticationGroup diharapkan untuk menyesuaikan pengaturan apa pun untuk sepenuhnya mendukung Autentikasi Wajah seperti kontras atau paparan pada perangkat yang mendasar anggota IPerceptionFrameProvider. Handler mengembalikan apakah semua anggota siap melakukan praformasi Autentikasi Wajah atau tidak.

Jika handler mengembalikan true, semua anggota diharapkan tetap dalam mode ini sampai PerceptionStopFaceAuthenticationHandler yang terkait dengan grup dipanggil.

Jika handler mengembalikan false, IPerceptionFrameProvider tidak digunakan untuk autentikasi wajah.

Berlaku untuk