agora_chat_SDK
1.0.6
agora java chat SDK
弃用列表
成员
io.agora.chat.ChatClient.sendHMSPushTokenToServer
(String appId, String token)
请使用
sendHMSPushTokenToServer(String)
代替。
成员
io.agora.chat.ChatClient.updateCurrentUserNick
(String nickname)
从 V3.3.3 废弃,使用
PushManager#updatePushNickname(String)
代替。
成员
io.agora.chat.ChatManager.downloadFile
(final String remoteUrl, final String localFilePath, final Map< String, String > headers, final
CallBack
callback)
使用
downloadAttachment(ChatMessage)
代替。
成员
io.agora.chat.ChatManager.getUnreadMsgsCount
()
使用
ChatManager#getUnreadMessageCount()
替代。
成员
io.agora.chat.ChatManager.setMessageListened
(
ChatMessage
message)
请使用
ChatManager#setVoiceMessageListened(ChatMessage)
替代。
成员
io.agora.chat.ChatMessage.createTxtSendMessage
(String content, String username)
使用
createTextSendMessage(String, String)
代替。
成员
io.agora.chat.ChatOptions.getFCMNumber
()
使用
PushConfig#getFcmSenderId()
代替。
成员
io.agora.chat.ChatOptions.getMipushConfig
()
使用
PushConfig#getMiAppId()
代替。
成员
io.agora.chat.ChatOptions.isAutoAcceptGroupInvitation
()
使用
ChatOptions#autoAcceptGroupInvitations()
替代。
成员
io.agora.chat.ChatOptions.isChatroomOwnerLeaveAllowed
()
使用
ChatOptions#canChatroomOwnerLeave()
代替。
成员
io.agora.chat.ChatOptions.isDeleteMessagesAsExitChatRoom
()
使用
ChatOptions#deleteMessagesOnLeaveChatroom()
替代。
成员
io.agora.chat.ChatOptions.isDeleteMessagesAsExitGroup
()
使用
ChatOptions#deleteMessagesOnLeaveGroup()
替代。
成员
io.agora.chat.ChatOptions.isUseFCM
()
FCM 推送转移到应用层,不再需要此 API。
成员
io.agora.chat.ChatOptions.setFCMNumber
(String number)
使用
PushConfig.Builder#enableFCM(String)
代替。
成员
io.agora.chat.ChatOptions.setMipushConfig
(String mipushAppid, String mipushAppkey)
使用
PushConfig.Builder#enableMiPush(String, String)
代替。
成员
io.agora.chat.ChatOptions.setUseFCM
(boolean useFCM)
FCM 推送转移到应用层,不再需要此 API。
成员
io.agora.chat.ChatOptions.setUseHttps
(boolean _useHttps)
使用
setUsingHttpsOnly(boolean)
代替。
成员
io.agora.chat.ChatRoom.getBlackList
()
已废弃,请用
ChatRoom#getBlacklist()
代替。
成员
io.agora.chat.ChatRoom.getWhiteList
()
已废弃,请用
ChatRoom#getWhitelist()
代替。
成员
io.agora.chat.ChatRoomManager.asyncFetchPublicChatRoomsFromServer
(final int pageSize, final String cursor, final
ValueCallBack
< CursorResult< ChatRoom > > callback)
使用
asyncFetchPublicChatRoomsFromServer(int, int, ValueCallBack)
代替。
成员
io.agora.chat.ChatRoomManager.fetchPublicChatRoomsFromServer
(int pageSize, String cursor)
已废弃,请用
fetchPublicChatRoomsFromServer(int, int)
代替。
成员
io.agora.chat.ChatRoomManager.getAllChatRooms
()
成员
io.agora.chat.ChatRoomManager.removeChatRoomChangeListener
(
ChatRoomChangeListener
listener)
已废弃,请用
ChatRoomManager#removeChatRoomListener(ChatRoomChangeListener)
代替。
成员
io.agora.chat.CmdMessageBody.getParams
()
使用
ChatMessage#ext()
代替。
成员
io.agora.chat.Group.isAllowInvites
()
使用
isMemberAllowToInvite()
替代。
成员
io.agora.chat.Group.isMembersOnly
()
使用
isMemberOnly()
替代。
成员
io.agora.chat.PushConfigs.getNoDisturbEndHour
()
使用
PushConfigs#getSilentModeEnd()
替代。
成员
io.agora.chat.PushConfigs.getNoDisturbStartHour
()
使用
PushConfigs#getSilentModeStart()
替代。
成员
io.agora.chat.PushConfigs.getSilentModeEnd
()
使用
PushManager#getSilentModeForAll(ValueCallBack)
替代。
成员
io.agora.chat.PushConfigs.getSilentModeStart
()
使用
PushManager#getSilentModeForAll(ValueCallBack)
替代。
成员
io.agora.chat.PushConfigs.isNoDisturbOn
()
使用
PushConfigs#silentModeEnabled()
替代。
成员
io.agora.chat.PushConfigs.silentModeEnabled
()
使用
PushManager#getSilentModeForAll(ValueCallBack)
替代。
成员
io.agora.chat.PushManager.disableOfflinePush
(int start, int end)
使用
PushManager#setSilentModeForAll(SilentModeParam, ValueCallBack)
替代。
成员
io.agora.chat.PushManager.enableOfflinePush
()
使用
PushManager#setSilentModeForAll(SilentModeParam, ValueCallBack)
替代。
成员
io.agora.chat.PushManager.getNoPushGroups
()
使用
PushManager#getSilentModeForConversation(String, Conversation.ConversationType, ValueCallBack)
替代,获取每个会话的免打扰设置来判断。
成员
io.agora.chat.PushManager.getNoPushUsers
()
使用
PushManager#getSilentModeForConversation(String, Conversation.ConversationType, ValueCallBack)
替代,获取每个会话的免打扰设置来判断。
成员
io.agora.chat.PushManager.updatePushServiceForGroup
(List< String > groupIds, boolean noPush)
使用
PushManager#setSilentModeForConversation(String, Conversation.ConversationType, SilentModeParam, ValueCallBack)
替代,设置每个会话的免打扰设置。
成员
io.agora.chat.PushManager.updatePushServiceForUsers
(List< String > userIds, boolean noPush)
使用
PushManager#setSilentModeForConversation(String, Conversation.ConversationType, SilentModeParam, ValueCallBack)
替代,设置每个会话的免打扰设置。
成员
io.agora.chat.UserInfo.getNickName
()
已废弃,请用
UserInfo#getNickname()
代替。
成员
io.agora.chat.UserInfo.setNickName
(String nickname)
已废弃,请用
UserInfo#setNickname(java.lang.String)
代替。
成员
io.agora.Error.TRANSLATE_FAIL
成员
io.agora.Error.TRANSLATE_INVALID_PARAMS
用
TRANSLATE_PARAM_INVALID
代替
成员
io.agora.Error.TRANSLATE_NOT_INIT
成员
io.agora.MessageListener.onMessageChanged
(ChatMessage message, Object change)
已废弃,请用
ChatMessage#setMessageStatusCallback(CallBack)
代替。
制作者
1.9.2