Thrown to indicate that there was an error while casting / trying to cast.
- error : The error.
- type : ‘error’.
public class CastErrorEvent : EventProtocol
Thrown to indicate that the state of the connection has changed.
- state : The current state.
- type : ‘statechange’.
public class StateChangeEvent : EventProtocol