DisconnectedCallback

constructor(isUserInitiated: Boolean)

If true, the disconnection was initiated by calling CMClient.disconnect. If false, the disconnection was the cause of something not user-controlled, such as a network failure or a forcible disconnection by the remote server.