Class: SessionStateEventData

Constructor

SessionStateEventData

new SessionStateEventData(session, sessionState, opt_errorCode)

Parameter

session

cast.framework.CastSession

Current session if available.

Value may be null.

sessionState

cast.framework.SessionState

Current session state.

Value must not be null.

opt_errorCode

Optional

chrome.cast.ErrorCode

Optional error code for start failed state.

Value must not be null.

Properties

errorCode

nullable chrome.cast.ErrorCode

Session start failure reason.

session

nullable cast.framework.CastSession

Cast session.

sessionState

non-null cast.framework.SessionState

Cast session state.