StateChangeEvent

@objc(THEOplayerStateChangeEvent)
public class StateChangeEvent : ChromeCastEvent

Thrown to indicate that the state of the connection has changed.

  • The new cast state.

    Declaration

    Swift

    @objc
    public private(set) var state: PlayerCastState { get }