State state() const
Returns an enumeration indicating the current state of the session. Possible values are shown under State at the end of the description of this class.