Identifies the state of a Session.
Session objects implement a state machine that controls their lifecycle. This enum represents the states of the state machine.
Indicates that the Session has not yet been opened and has no cached token.
Indicates that the Session has not yet been opened and has a cached token.
Indicates that the Session is in the process of opening.
Indicates that the Session is opened.
Indicates that the Session is opened and that the token has changed.
Indicates that the Session is closed, and that it was not closed normally.
Indicates that the Session was closed normally.
|static SessionState||valueOf(String name)|
Returns a boolean indicating whether the state represents a successfully opened state in which the Session can be used with a Request.
Returns a boolean indicating whether the state represents a closed Session that can no longer be used with a Request.
Indicates that the Session has not yet been opened and has a cached token. Opening a Session in this state will not involve user interaction.
If you are using Session from an Android Service, you must provide a TokenCachingStrategy implementation that contains a valid token to the Session constructor. The resulting Session will be created in this state, and you can then safely call open, passing null for the Activity.
Last Updated: March 20, 2013