For the complete documentation index, see llms.txt. This page is also available as Markdown.

extractionTimeout

The extraction timeout was reached.

Details

It is emitted when the widget does not complete facial extraction within the time configured in timeout.

Event: extractionTimeout

Type: FacephiSelphiWidgetCustomEvent<ExtractionTimeoutEvent> | CustomEvent<ExtractionTimeoutEvent>

Syntax

selphi.addEventListener('extractionTimeout', onExtractionTimeout);

Received object

The useful payload is of type SelphiExtractionTimeoutDetail and is in event.detail.detail:

  • eventType (string): Type of event emitted.

  • timeoutResult (object): Partial extraction information.

    • livenessMoveDiagnosticStatus (string): Active Liveness diagnostic status.

    • livenessMoveStabilizedStatus (string): Active Liveness stabilization status.

    • images (number): Number of images captured before the Timeout.

  • code (string): Associated error code.

Description

Indicates that extraction was not completed in time. By default, the widget shows an expiration view to the user.

Considerations

The useful payload is in event.detail.detail (see event format).

If timeout is 0, this event is not emitted. The timeout screen includes a button that triggers timeoutErrorButtonClick.


Example

Last updated