Поделиться через


PerceptionFaceAuthenticationGroup Конструктор

Определение

Инициализирует новый экземпляр 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)

Параметры

ids

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Коллекция уникальных идентификаторов, которая сопоставляется с IPerceptionFrameProviders с помощью PerceptionFrameProviderInfo::Id.

startHandler
PerceptionStartFaceAuthenticationHandler

Обработчик, вызываемый при запросе этой группы на вход в режим проверки подлинности лиц, возвращается, если она готова.

stopHandler
PerceptionStopFaceAuthenticationHandler

Вызывается обработчик, вызываемый при выходе этой группы из режима проверки подлинности лиц после startHandler, и возвращается значение true.

Атрибуты

Комментарии

Создает PerceptionFaceAuthenticationGroup из коллекции уникальных идентификаторов, указывающих IPerceptionFrameProviders, обработчик для начала проверки подлинности лиц и обработчик для окончания проверки подлинности лиц.

Применяется к