void ReportSuccess() { FingerprintManagerApiActivity activity = (FingerprintManagerApiActivity)_fragment.Activity; activity.AuthenticationSuccessful(); _fragment.Dismiss(); }
void ReportScanFailure(int errMsgId, string errorMessage) { FingerprintManagerApiActivity activity = (FingerprintManagerApiActivity)_fragment.Activity; activity.ShowError(errorMessage, string.Format("Error message id {0}.", errMsgId)); _fragment.Dismiss(); }
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(); }