ConnectionListener

연결 상태 변화에 대한 콜백을 제공하는 리스너
Listener for connection state changes


korean

이 인터페이스는 연결 성공 및 연결 실패 시 발생하는 이벤트를 처리합니다.


english

This interface handles events that occur upon successful connection and connection failure.

Functions

Link copied to clipboard
abstract fun onConnected()

연결 성공 시 호출되는 이벤트
Called when the connection is successfully established

Link copied to clipboard
abstract fun onDisconnected()

연결 실패 시 호출되는 이벤트
Called when the connection fails

Link copied to clipboard
abstract fun onReconnected(result: ResultAPI, channelIds: ArrayList<String>, failChannelIds: ArrayList<String>)

재연결 수행 후 호출되는 이벤트
Called after re-connection is attempted

Link copied to clipboard
abstract fun onReconnectStarted()

재연결 시도 시작 이벤트
Called when a reconnect attempt is about to start