onDisconnected( )


Adds an event handler that runs when a disconnection occurs.

A disconnection can occur, for example, if there is a network issue.

Method Declaration
Copy
Request
This method does not take any parameters
Was this helpful?
Yes
No