Class: StoreSessionResponseData

  • StoreSessionResponseData is a class used for responding to the STORE_SESSION command in the Cast framework.

  • It requires a SessionState object during construction, which is then stored as a property of the same name.

  • The sessionState property represents the state of the session and must be a non-null SessionState object.

Constructor

StoreSessionResponseData

new StoreSessionResponseData(sessionState)

Parameter

sessionState

cast.framework.messages.SessionState

The SessionState object to be returned.

Value must not be null.

Property

sessionState

non-null cast.framework.messages.SessionState

The SessionState object to be returned.