예제 #1
0
            void ReportSuccess()
            {
                FingerprintManagerApiActivity activity = (FingerprintManagerApiActivity)_fragment.Activity;

                activity.AuthenticationSuccessful();
                _fragment.Dismiss();
            }
예제 #2
0
            void ReportScanFailure(int errMsgId, string errorMessage)
            {
                FingerprintManagerApiActivity activity = (FingerprintManagerApiActivity)_fragment.Activity;

                activity.ShowError(errorMessage, string.Format("Error message id {0}.", errMsgId));
                _fragment.Dismiss();
            }
예제 #3
0
            void ReportAuthenticationFailed()
            {
                FingerprintManagerApiActivity activity = (FingerprintManagerApiActivity)_fragment.Activity;
                string msg = _fragment.Resources.GetString(Resource.String.authentication_failed_message);

                activity.ShowError(msg);
                _fragment.Dismiss();
            }
            void ReportSuccess()
            {
                FingerprintManagerApiActivity activity = (FingerprintManagerApiActivity)_fragment.Activity;
                var cardNo = GetCardInfo("123456");

                activity.AuthenticationSuccessful(cardNo);
                _fragment.Dismiss();
            }