PerceptionFaceAuthenticationGroup PerceptionFaceAuthenticationGroup PerceptionFaceAuthenticationGroup PerceptionFaceAuthenticationGroup Class

Definition

A group of unique identifiers specifying IPerceptionFrameProviders that share handlers for entering and exiting Face Authentication mode.

public : sealed class PerceptionFaceAuthenticationGroup : IPerceptionFaceAuthenticationGrouppublic sealed class PerceptionFaceAuthenticationGroup : IPerceptionFaceAuthenticationGroupPublic NotInheritable Class PerceptionFaceAuthenticationGroup Implements IPerceptionFaceAuthenticationGroup// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

PerceptionFaceAuthenticationGroup(IIterable, PerceptionStartFaceAuthenticationHandler, PerceptionStopFaceAuthenticationHandler) PerceptionFaceAuthenticationGroup(IIterable, PerceptionStartFaceAuthenticationHandler, PerceptionStopFaceAuthenticationHandler) PerceptionFaceAuthenticationGroup(IIterable, PerceptionStartFaceAuthenticationHandler, PerceptionStopFaceAuthenticationHandler) PerceptionFaceAuthenticationGroup(IIterable, PerceptionStartFaceAuthenticationHandler, PerceptionStopFaceAuthenticationHandler)

Initializes a new PerceptionFaceAuthenticationGroup instance.

public : PerceptionFaceAuthenticationGroup(IIterable<PlatForm::String> ids, PerceptionStartFaceAuthenticationHandler startHandler, PerceptionStopFaceAuthenticationHandler stopHandler)public PerceptionFaceAuthenticationGroup(IEnumerable<String> ids, PerceptionStartFaceAuthenticationHandler startHandler, PerceptionStopFaceAuthenticationHandler stopHandler)Public Sub New(ids As IEnumerable<String>, startHandler As PerceptionStartFaceAuthenticationHandler, stopHandler As PerceptionStopFaceAuthenticationHandler)// You can use this method in JavaScript.
Parameters
ids
IIterable<PlatForm::String> IEnumerable<String> IEnumerable<String> IEnumerable<String>

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

startHandler
PerceptionStartFaceAuthenticationHandler PerceptionStartFaceAuthenticationHandler PerceptionStartFaceAuthenticationHandler PerceptionStartFaceAuthenticationHandler

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

stopHandler
PerceptionStopFaceAuthenticationHandler PerceptionStopFaceAuthenticationHandler PerceptionStopFaceAuthenticationHandler PerceptionStopFaceAuthenticationHandler

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

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.

Properties

FrameProviderIds FrameProviderIds FrameProviderIds FrameProviderIds

The id(s) of the IPerceptionFrameProvider(s) referenced by this group.

public : IVectorView<string> FrameProviderIds { get; }public IReadOnlyList<string> FrameProviderIds { get; }Public ReadOnly Property FrameProviderIds As IReadOnlyList<string>// You can use this property in JavaScript.
Value
IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>

The id(s) of the IPerceptionFrameProvider(s) referenced by this group.