PerceptionFaceAuthenticationGroup Constructor

Definición

Inicializa una nueva instancia de PerceptionFaceAuthenticationGroup.

public:
 PerceptionFaceAuthenticationGroup(IIterable<Platform::String ^> ^ ids, PerceptionStartFaceAuthenticationHandler ^ startHandler, PerceptionStopFaceAuthenticationHandler ^ stopHandler);
 PerceptionFaceAuthenticationGroup(IIterable<winrt::hstring> const& ids, PerceptionStartFaceAuthenticationHandler const& startHandler, PerceptionStopFaceAuthenticationHandler const& stopHandler);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionFaceAuthenticationGroup may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
 PerceptionFaceAuthenticationGroup(IIterable<winrt::hstring> const& ids, PerceptionStartFaceAuthenticationHandler const& startHandler, PerceptionStopFaceAuthenticationHandler const& stopHandler);
public PerceptionFaceAuthenticationGroup(IEnumerable<string> ids, PerceptionStartFaceAuthenticationHandler startHandler, PerceptionStopFaceAuthenticationHandler stopHandler);
[Windows.Foundation.Metadata.Deprecated("PerceptionFaceAuthenticationGroup may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public PerceptionFaceAuthenticationGroup(IEnumerable<string> ids, PerceptionStartFaceAuthenticationHandler startHandler, PerceptionStopFaceAuthenticationHandler stopHandler);
function PerceptionFaceAuthenticationGroup(ids, startHandler, stopHandler)
Public Sub New (ids As IEnumerable(Of String), startHandler As PerceptionStartFaceAuthenticationHandler, stopHandler As PerceptionStopFaceAuthenticationHandler)

Parámetros

ids

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

La colección de identificadores únicos que se asigna a IPerceptionFrameProviders a través de PerceptionFrameProviderInfo::Id.

startHandler
PerceptionStartFaceAuthenticationHandler

Controlador que se va a invocar cuando se solicita a este grupo que escriba el modo de autenticación facial que se devuelve si está listo.

stopHandler
PerceptionStopFaceAuthenticationHandler

Controlador que se va a invocar cuando este grupo deja el modo de autenticación de Face después de llamar a startHandler y se devuelve true.

Atributos

Comentarios

Crea un perceptionFaceAuthenticationGroup a partir de una colección de identificadores únicos que especifican IPerceptionFrameProviders, un controlador para el inicio de la autenticación de Face y un controlador para el final de la autenticación facial.

Se aplica a