PerceptionStartFaceAuthenticationHandler PerceptionStartFaceAuthenticationHandler PerceptionStartFaceAuthenticationHandler PerceptionStartFaceAuthenticationHandler PerceptionStartFaceAuthenticationHandler Delegate

Definition

Invoked when a PerceptionFaceAuthenticationGroup enters Face Authentication mode.

public : delegate Platform::Boolean PerceptionStartFaceAuthenticationHandler(PerceptionFaceAuthenticationGroup sender)
struct PerceptionStartFaceAuthenticationHandler : winrt::Windows::Foundation::IUnknown
{
   PerceptionStartFaceAuthenticationHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> PerceptionStartFaceAuthenticationHandler(L lambda);
   template <typename F> PerceptionStartFaceAuthenticationHandler(F* function);
   template <typename O, typename M> PerceptionStartFaceAuthenticationHandler(O* object, M method);
   bool operator()(winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& sender) const;
};
public delegate bool PerceptionStartFaceAuthenticationHandler(PerceptionFaceAuthenticationGroup sender)
Public Delegate Function PerceptionStartFaceAuthenticationHandler(sender As PerceptionFaceAuthenticationGroup) As bool
var perceptionStartFaceAuthenticationHandler = function(sender) {

 /* Your code */

}

Parameters

sender
PerceptionFaceAuthenticationGroup PerceptionFaceAuthenticationGroup PerceptionFaceAuthenticationGroup

The associated PerceptionFaceAuthenticationGroup that was registered.

Return Value

bool

True if the group is ready to preform Face Authentication; otherwise, false.

Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

All members of the PerceptionFaceAuthenticationGroup are expected to adjust any settings to fully support Face Authentication such as contrast or exposure on the device underlying the IPerceptionFrameProvider members. The handler returns whether or not all members are ready to preform Face Authentication.

If the handler returns true, all members are expected to remain in this mode until the PerceptionStopFaceAuthenticationHandler associated with the group is invoked.

If the handler returns false, the IPerceptionFrameProvider(s) isn't used for face authentication.