Beispiel #1
0
            void ReportScanFailure(int errMsgId, string errorMessage)
            {
                FingerprintManagerApiActivity activity = (FingerprintManagerApiActivity)_fragment.Activity;

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

                activity.ShowError(msg);
                _fragment.Dismiss();
            }