AI-generated Key Takeaways
-
SessionState
is a class used to store and retrieve session data in the Cast framework. -
It contains
customData
for developers to store app-specific information andloadRequestData
related to the current media. -
SessionState
objects are utilized with theStoreSession
andResumeSession
methods to manage session persistence.
cast.framework.messages. SessionState
A state object containing all data to be stored in StoreSession and to be recovered in ResumeSession.
Constructor
SessionState
new SessionState()
Properties
customData
(non-null Object or undefined)
Customizable object for storing the state.
loadRequestData
(non-null cast.framework.messages.LoadRequestData or undefined)