Interface DeviceAuthenticationCallback


  • public interface DeviceAuthenticationCallback
    Callback to update the status of the user authentication (e.g. during a payment process)
    Since:
    2.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onError​(int fpErrorCode)
      Only applicable for biometric/bio-fingerprint.
      void onFailed()
      User authentication failed.
      void onHelp​(int fpCode, CharSequence detail)
      Only applicable for biometric/bio-fingerprint.
      void onSuccess()
      User is authenticated, process will continue next step
    • Method Detail

      • onSuccess

        void onSuccess()
        User is authenticated, process will continue next step
      • onFailed

        void onFailed()
        User authentication failed.

        Application should handle accordingly example if biometric/bio-fingerprint failed, app can suggest user to fallback to use keyguard