Beispiel #1
0
 public void OnFinished(int responseCode)
 {
     _id.Listening = false;
     if (responseCode == SpassFingerprint.StatusAuthentificationSuccess)
     {
         _callback.OnBiometricAuthSucceeded();
     }
     else if (responseCode == SpassFingerprint.StatusAuthentificationPasswordSuccess)
     {
         _callback.OnBiometricAuthSucceeded();
     }
 }
Beispiel #2
0
 public override void OnAuthenticationSucceeded(BiometricPrompt.AuthenticationResult result)
 {
     new Handler(Looper.MainLooper).Post(() => _callback.OnBiometricAuthSucceeded());
 }