Returns an integer code that indicates the type of the event the cursor is pointing to.
Diagram: Reader, Writer