ChromeCast Events

  • Thrown to indicate that there was an error while casting / trying to cast.

    • error : The error.
    • type : ‘error’.

    Declaration

    Swift

    public class CastErrorEvent : EventProtocol
  • Thrown to indicate that the state of the connection has changed.

    • state : The current state.
    • type : ‘statechange’.

    Declaration

    Swift

    public class StateChangeEvent : EventProtocol