Class: CustomStateEvent

  • CustomStateEvent provides event data for a cast.framework.events.EventType.CUSTOM_STATE event.

  • The constructor CustomStateEvent(state) requires a non-null Object as the state parameter.

  • The state property of a CustomStateEvent is a constant, non-null Object representing the sent media status.

Constructor

CustomStateEvent

new CustomStateEvent(state)

Parameter

state

Object

Value must not be null.

Property

state

constant

non-null Object

The media status that was sent.