Voice Recognition V3 Codes Need Explanation

Sir, so what is exactly the function called if not a class constructor? What is also a return value sir? Where can i get that value based on my project?