PerceptionFaceAuthenticationGroup Constructor

Definition

Initializes a new PerceptionFaceAuthenticationGroup instance.

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)

Parameters

ids

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The collection of unique identifiers which maps to IPerceptionFrameProviders via PerceptionFrameProviderInfo::Id.

startHandler
PerceptionStartFaceAuthenticationHandler

The handler to invoke when this group is requested to enter Face Authentication mode returning if it's ready.

stopHandler
PerceptionStopFaceAuthenticationHandler

The handler to invoke when this group is leaving Face Authentication mode after startHandler is called and returned true.

Attributes

Remarks

Creates a PerceptionFaceAuthenticationGroup from a collection of unique identifiers specifying IPerceptionFrameProviders, a handler for the start of Face Authentication, and a handler for the end of Face Authentication.

Applies to