예제 #1
0
        private void LogUserIn()
        {
            var authenticationCallback = new AuthenticationCallback(this, _userId);

            Toast.MakeText(this, "Place fingerprint on sensor", ToastLength.Long).Show();
            _fingerprintManager.Authenticate(null, 0, _cancellationSignal, authenticationCallback, null);
        }
예제 #2
0
 private void LogUserIn()
 {
     _cancelation = new global::Android.Support.V4.OS.CancellationSignal();
     FingerprintManagerCompat.AuthenticationCallback authenticationCallback = new AuthenticationCallback(this, _userId);
     Toast.MakeText(this, "Place fingerprint on sensor", ToastLength.Long).Show();
     _fingerprintManagerCompat.Authenticate(null, 0, _cancelation, authenticationCallback, null);
 }