Chat SDK for Android v1.3.1
agora java chat SDK
Deprecated List
Class io.agora.chat.ChatCheckType
Deprecated.
Member io.agora.chat.ChatClient.check (String username, String password, final CheckResultListener listener)
Deprecated.
Member io.agora.chat.ChatClient.login (String id, String password, @NonNull final CallBack callback)
Deprecated. Please use loginWithToken(String, String, CallBack) instead.
Member io.agora.chat.ChatClient.loginWithAgoraToken (String username, String agoraToken, @NonNull final CallBack callback)
Deprecated. Please use loginWithToken(String, String, CallBack) instead.
Member io.agora.chat.ChatClient.renewToken (String newAgoraToken)
Deprecated. Please use renewToken(String, CallBack) instead.
Member io.agora.chat.ChatManager.asyncFetchConversationsFromServer (int pageNum, int pageSize, final ValueCallBack< Map< String, Conversation > > callBack)
Deprecated. Use asyncFetchConversationsFromServer(int, String, ValueCallBack) instead.
Member io.agora.chat.ChatManager.asyncFetchConversationsFromServer (final ValueCallBack< Map< String, Conversation > > callBack)
Deprecated. Use asyncFetchConversationsFromServer(int, String, ValueCallBack) instead.
Member io.agora.chat.ChatManager.asyncFetchHistoryMessage (final String conversationId, final ConversationType type, final int pageSize, final String startMsgId, final ValueCallBack< CursorResult< ChatMessage > > callBack)
Deprecated. Use asyncFetchHistoryMessages(String, ConversationType, int, String, FetchMessageOption, ValueCallBack) instead.
Member io.agora.chat.ChatManager.asyncFetchHistoryMessage (final String conversationId, final ConversationType type, final int pageSize, final String startMsgId, final Conversation.SearchDirection direction, final ValueCallBack< CursorResult< ChatMessage > > callBack)
Deprecated. Use asyncFetchHistoryMessages(String, ConversationType, int, String, FetchMessageOption, ValueCallBack) instead.
Member io.agora.chat.ChatManager.fetchConversationsFromServer ()
Deprecated. Use asyncFetchConversationsFromServer(int, String, ValueCallBack) instead.
Member io.agora.chat.ChatManager.fetchHistoryMessages (String conversationId, ConversationType type, int pageSize, String startMsgId, Conversation.SearchDirection direction)
Deprecated. Use asyncFetchHistoryMessages(String, ConversationType, int, String, FetchMessageOption, ValueCallBack) instead.
Member io.agora.chat.ChatManager.fetchHistoryMessages (String conversationId, ConversationType type, int pageSize, String startMsgId)
Deprecated. Use asyncFetchHistoryMessages(String, ConversationType, int, String, FetchMessageOption, ValueCallBack) instead.
Member io.agora.chat.ChatMessage.createTxtSendMessage (String content, String username)
Deprecated. Use createTextSendMessage(String, String) instead.
Member io.agora.chat.ChatOptions.isAutoAcceptGroupInvitation ()
Use ChatOptions#autoAcceptGroupInvitations() instead.
Member io.agora.chat.ChatOptions.isChatroomOwnerLeaveAllowed ()
Use ChatOptions#canChatroomOwnerLeave() instead.
Member io.agora.chat.ChatOptions.isDeleteMessagesAsExitChatRoom ()
Use ChatOptions#deleteMessagesOnLeaveChatroom() instead.
Member io.agora.chat.ChatOptions.isDeleteMessagesAsExitGroup ()
Use ChatOptions#deleteMessagesOnLeaveGroup() instead.
Member io.agora.chat.ChatRoom.getBlackList ()
Deprecated. Please use ChatRoom#getBlacklist() instead.
Member io.agora.chat.ChatRoom.getWhiteList ()
Deprecated. Please use ChatRoom#getWhitelist() instead.
Member io.agora.chat.ChatRoomManager.asyncFetchPublicChatRoomsFromServer (final int pageSize, final String cursor, final ValueCallBack< CursorResult< ChatRoom > > callback)
Deprecated. Please use asyncFetchPublicChatRoomsFromServer(int, int, ValueCallBack) instead.
Member io.agora.chat.ChatRoomManager.fetchPublicChatRoomsFromServer (int pageSize, String cursor)
Deprecated. Please use fetchPublicChatRoomsFromServer(int, int) instead.
Member io.agora.chat.ChatRoomManager.getAllChatRooms ()
Deprecated.
Member io.agora.chat.ChatRoomManager.removeChatRoomChangeListener (ChatRoomChangeListener listener)
Deprecated. Please use ChatRoomManager#removeChatRoomListener(ChatRoomChangeListener) instead.
Member io.agora.chat.GroupManager.asyncGetJoinedGroupsFromServer (final int pageIndex, final int pageSize, final ValueCallBack< List< Group > > callback)
Deprecated. Please use asyncGetJoinedGroupsFromServer(int, int, boolean, boolean, ValueCallBack) instead.
Member io.agora.chat.GroupManager.asyncGetJoinedGroupsFromServer (final ValueCallBack< List< Group > > callback)
Deprecated. Use asyncGetJoinedGroupsFromServer(int, int, boolean, boolean, ValueCallBack) instead.
Member io.agora.chat.GroupManager.getGroupFromServer (String groupId, boolean fetchMembers)
This method is deprecated. Use getGroupFromServer(String) instead.
Member io.agora.chat.GroupManager.getJoinedGroupsFromServer (int pageIndex, int pageSize)
Deprecated. Please use getJoinedGroupsFromServer(int, int, boolean, boolean) instead.
Member io.agora.chat.GroupManager.getJoinedGroupsFromServer ()
Deprecated. Please use getJoinedGroupsFromServer(int, int, boolean, boolean) instead.
Member io.agora.chat.PushConfigs.getNoDisturbEndHour ()
Deprecated. Use PushConfigs#getSilentModeEnd() instead.
Member io.agora.chat.PushConfigs.getNoDisturbStartHour ()
Deprecated. Use PushConfigs#getSilentModeStart() instead.
Member io.agora.chat.PushConfigs.getSilentModeEnd ()
Deprecated. Use PushManager#getSilentModeForAll(ValueCallBack) instead.
Member io.agora.chat.PushConfigs.getSilentModeStart ()
Deprecated. Use PushManager#getSilentModeForAll(ValueCallBack) instead.
Member io.agora.chat.PushConfigs.isNoDisturbOn ()
Deprecated. Use PushConfigs#silentModeEnabled() instead.
Member io.agora.chat.PushConfigs.silentModeEnabled ()
Deprecated. Use PushManager#getSilentModeForAll(ValueCallBack) instead.
Member io.agora.chat.PushManager.disableOfflinePush (int start, int end)
Use PushManager#setSilentModeForAll(SilentModeParam, ValueCallBack) instead.
Member io.agora.chat.PushManager.enableOfflinePush ()
Deprecated. Use PushManager#setSilentModeForAll(SilentModeParam, ValueCallBack) instead.
Member io.agora.chat.PushManager.getNoPushGroups ()
Use PushManager#getSilentModeForConversation(String, Conversation.ConversationType, ValueCallBack) instead,get the DND Settings for each conversation to determine
Member io.agora.chat.PushManager.getNoPushUsers ()
Use PushManager#getSilentModeForConversation(String, Conversation.ConversationType, ValueCallBack) instead. Get the do-not-disturb settings for each conversation.
Member io.agora.chat.PushManager.updatePushServiceForGroup (List< String > groupIds, boolean noPush)
Use PushManager#setSilentModeForConversation(String, Conversation.ConversationType, SilentModeParam, ValueCallBack) instead,set DND Settings for each session.
Member io.agora.chat.PushManager.updatePushServiceForUsers (List< String > userIds, boolean noPush)
Use PushManager#setSilentModeForConversation(String, Conversation.ConversationType, SilentModeParam, ValueCallBack) instead,set DND Settings for each session
Member io.agora.chat.UserInfo.getNickName ()
Deprecated. Please use UserInfo#getNickname() instead.
Member io.agora.chat.UserInfo.setNickName (String nickname)
Deprecated. Please use UserInfo#setNickname(java.lang.String) instead.
Member io.agora.ChatRoomChangeListener.onMemberJoined (final String roomId, final String participant)
This method is deprecated. Use onMemberJoined(java.lang.String, java.lang.String, java.lang.String) instead.
Member io.agora.ConnectionListener.onLogout (final int errorCode)
use ConnectionListener#onLogout(int, String) instead。
Member io.agora.Error.TRANSLATE_FAIL
Member io.agora.Error.TRANSLATE_INVALID_PARAMS
Deprecated. Use TRANSLATE_PARAM_INVALID instead.
Member io.agora.Error.TRANSLATE_NOT_INIT
Member io.agora.GroupChangeListener.onRequestToJoinDeclined (String groupId, String groupName, String decliner, String reason)
deprecated,please use onRequestToJoinDeclined(String, String, String, String)