As an aside if you're like me you'll make lots of typos as you learn a new technology. "The method whatever() is undefined etc" is common indication by the compiler of a typo.
The
API documentation is very useful here. Click "Scanner" on the left and you will get the documentation for this class. From there you can check both the spelling and the number and types of arguments that the method takes. (The other common cause of this particular compiler message). It's never too soon to have the documentation open as you code, to get a better idea of what's happening and to round out the commentary in the videos.