Interface SelfieScanListener

  • All Implemented Interfaces:
    com.incode.welcome_sdk.listeners.BaseListener , com.incode.welcome_sdk.listeners.ErrorListener , com.incode.welcome_sdk.listeners.UserCancelledListener

    
    public interface SelfieScanListener
     implements BaseListener
                        

    Interface for getting selfie scan result after call startSelfieScan()

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onSelfieScanReady(NonUiSelfieScanController controller) Called when selfie scan controller is ready to be used.
      abstract Unit onSelfieScanCompleted(SelfieScanResult selfieScanResult) Called when selfie scan step is completedFor per-attempt reporting that fires after every individual capture attempt (including intermediate failures), use onSelfieScanAttemptCompleted.
      Unit onSelfieScanAttemptCompleted(SelfieScanResult selfieScanResult) Called after every individual selfie capture attempt, including intermediate failures such as spoof detection, lenses, mask, closed eyes, head cover, or insufficient brightness.
      • Methods inherited from class com.incode.welcome_sdk.listeners.ErrorListener

        onError
      • Methods inherited from class com.incode.welcome_sdk.listeners.UserCancelledListener

        onUserCancelled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onSelfieScanReady

         Unit onSelfieScanReady(NonUiSelfieScanController controller)

        Called when selfie scan controller is ready to be used.

        Parameters:
        controller - Instance of NonUiSelfieScanController
      • onSelfieScanCompleted

         abstract Unit onSelfieScanCompleted(SelfieScanResult selfieScanResult)

        Called when selfie scan step is completed

        For per-attempt reporting that fires after every individual capture attempt (including intermediate failures), use onSelfieScanAttemptCompleted.

        Parameters:
        selfieScanResult - Result of the terminal selfie scan attempt that includes spoof confidence and path to the face image.