connect
Hive 채팅 서버 연결
Hive chat server connection
korean
Hive 채팅 기능을 호출하기 전에 가장 먼저 호출되어야 하는 API로, 인증된 사용자 정보를 바탕으로 Hive 채팅 서버에 연결을 시도한다.기본적으로 60초 이내에 연결되지 않으면 ResultAPI.Code.ChatResponseError가 발생한다.
Configuration.chatConnectionTimeout API를 사용하여 Hive 채팅 서버 연결을 위한 최대 시간을 재 설정할 수 있다.
연결 상태를 감지하고 상태 변경 이벤트를 수신하기 위해 Chat.addConnectionListener 이벤트 리스너를 등록해야 한다.
english
This is the first API that must be called before accessing the Hive chat feature. It attempts to connect to the Hive chat server based on the authenticated user information.By default, if the connection is not established within 60 seconds, ResultAPI.Code.ChatResponseError will occur.
The maximum time for connecting to the Hive chat server can be reconfigured using the Configuration.chatConnectionTimeout API.
To detect the connection status and receive status change events, you need to register the event listener with Chat.addConnectionListener.
Parameters
listener
Deprecated
This method is no longer used. Please use [connect(listener: ConnectListener)] instead
Hive 채팅 서버 연결
Hive chat server connection
korean
이 메서드는 더 이상 사용되지 않습니다. 대신 connect(listener: ConnectListener) 를 사용하세요.english
This method is no longer used. Please use connect(listener: ConnectListener) insteadParameters
extra Data
User settings data (e.g., nickname)
listener