An abstract base class for performing session construction. The SDK uses a subclass of
internally. If your app wants to support other types of
then you should subclass this class. Subclasses must implement
isSessionRecoverable(), which will be called by the Cast SDK during the lifecycle
of the session. All methods must be called from the main thread.
Protected Constructor Summary
Public Method Summary
Inherited Method Summary
Constructs a new
This method is called by the SDK to create a new session.
public abstract boolean isSessionRecoverable ()
true if a previously constructed session can be resumed.
Subclasses should check any persisted information about the previous session, such as a
session ID, and return true only if it is possible to resume that session. This method
is called by the SDK when it tries to resume a previously saved session.