Disconnect Reason
Reason why room transitions to disconnected state.
Entries
Orderly disconnect has been initiated by client. Used when user calls ChatRoom.disconnect method.
Orderly disconnect has been initiated by server. Used when given user is disconnected for moderation purposes, e.g. when other user sends disconnect user request method on given user.
Room has not been able to establish web socket connection with IVS. Room will retry attempts as specified by ChatRoom.maxReconnectAttempts parameter. ChatRoomListener.onDisconnected with this reason is only called when all reconnection attempts have failed.
Room has not been able to fetch chat token from user backend. Room will retry attempts as specified by ChatRoom.maxReconnectAttempts parameter. ChatRoomListener.onDisconnected with this reason is only called when all token fetching attempts have failed.