Class: SessionState

  • 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 and loadRequestData related to the current media.

  • SessionState objects are utilized with the StoreSession and ResumeSession methods to manage session persistence.

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)