- 上一个
- 下一个
已过时的 API
目录
已过时的类 类和说明 cn.jpush.im.android.api.event.UserDeletedEvent deprecated in sdk version 1.2.0,use
LoginStateChangeEvent
instead. cn.jpush.im.android.api.event.UserLogoutEvent deprecated in sdk version 1.2.0 , useLoginStateChangeEvent
instead.
已过时的字段 字段和说明 cn.jpush.im.android.api.JMessageClient.NOTI_MODE_DEFAULT deprecated in 2.2.0,use
JMessageClient.setNotificationFlag(int)
instead. cn.jpush.im.android.api.JMessageClient.NOTI_MODE_NO_NOTIFICATION deprecated in 2.2.0,useJMessageClient.setNotificationFlag(int)
instead. cn.jpush.im.android.api.JMessageClient.NOTI_MODE_NO_SOUND deprecated in 2.2.0,useJMessageClient.setNotificationFlag(int)
instead. cn.jpush.im.android.api.JMessageClient.NOTI_MODE_NO_VIBRATE deprecated in 2.2.0,useJMessageClient.setNotificationFlag(int)
instead. cn.jpush.im.android.api.JMessageClient.NOTI_MODE_SILENCE deprecated in 2.2.0,useJMessageClient.setNotificationFlag(int)
instead.
已过时的方法 方法和说明 cn.jpush.im.android.api.content.EventNotificationContent.containsGroupOwner() deprecated in sdk version 1.1.5 cn.jpush.im.android.api.model.Conversation.createConversation(ConversationType, long) deprecated in sdk version 1.1.4. Use
Conversation.createGroupConversation(long)
、Conversation.createSingleConversation(String)
instead. cn.jpush.im.android.api.model.Conversation.createConversation(ConversationType, String) deprecated in sdk version 1.1.4. UseConversation.createGroupConversation(long)
、Conversation.createSingleConversation(String)
instead. cn.jpush.im.android.api.JMessageClient.enterSingleConversaion(String) deprecated in 1.2.0 useJMessageClient.enterSingleConversation(String, String)
instead. cn.jpush.im.android.api.JMessageClient.exitConversaion() deprecated in 1.2.0. useJMessageClient.exitConversation()
instead. cn.jpush.im.android.api.JMessageClient.forwardMessage(Message, Conversation, MessageSendingOptions, BasicCallback) deprecated since jmessage 2.6.0 useJMessageClient.forwardMessage(Message, Conversation, MessageSendingOptions, RequestCallback)
instead. cn.jpush.im.android.api.model.UserInfo.getAvatarFileAsync(DownloadAvatarCallback) deprecated in sdk version 1.1.5,useUserInfo.getAvatarBitmap(GetAvatarBitmapCallback)
instead cn.jpush.im.android.api.model.Message.getFromID() deprecated in sdk version 1.1.4. UseMessage.getFromUser()
instead. cn.jpush.im.android.api.model.Message.getFromName() deprecated in sdk version 1.1.4. UseMessage.getFromUser()
instead. cn.jpush.im.android.api.model.GroupBasicInfo.getGroupFlag() deprecated in 2.4.0,useGroupBasicInfo.getGroupType()
获取群组类型 cn.jpush.im.android.api.model.GroupInfo.getGroupKeepers() deprecated in jmessage 2.7.0 useGroupInfo.getGroupKeeperMemberInfos()
instead cn.jpush.im.android.api.model.GroupInfo.getGroupMemberInfo(String) deprecated in jmessage 1.3.0 useGroupInfo.getGroupMemberInfo(String, String)
instead. cn.jpush.im.android.api.model.GroupInfo.getGroupMemberInfo(String, String) deprecated in jmessage 2.7.0 userGroupInfo.getGroupMember(String, String)
instead cn.jpush.im.android.api.model.GroupInfo.getGroupMembers() deprecated in 2.7.0, useGroupInfo.getGroupMemberInfos()
cn.jpush.im.android.api.JMessageClient.getGroupMembers(long, GetGroupMembersCallback) deprecated in 2.7.0, useJMessageClient.getGroupMembers(long, RequestCallback)
instead cn.jpush.im.android.api.model.GroupInfo.getGroupOwner() in 2.7.0 useGroupInfo.getOwnerMemberInfo()
instead cn.jpush.im.android.api.model.GroupInfo.getGroupSilenceMemberInfos() deprecated in jmessage 2.8.2 useGroupInfo.getGroupSilenceList(RequestCallback)
instead cn.jpush.im.android.api.model.GroupInfo.getGroupSilenceMembers() deprecated in jmessage 2.7.0 useGroupInfo.getGroupSilenceList(RequestCallback)
()} instead cn.jpush.im.android.api.model.Conversation.getLastMsgDate() deprecated in sdk version 1.1.4. UseConversation.getLatestMessage()
instead. cn.jpush.im.android.api.model.Conversation.getLatestText() deprecated in sdk version 1.1.4. UseConversation.getLatestMessage()
instead. cn.jpush.im.android.api.model.Conversation.getLatestType() deprecated in sdk version 1.1.4. UseConversation.getLatestMessage()
instead. cn.jpush.im.android.api.model.GroupInfo.getOwnerAppkey() in 2.7.0 useGroupInfo.getOwnerMemberInfo()
instead cn.jpush.im.android.api.model.Conversation.getTargetId() deprecated in sdk version 1.1.4. UseConversation.getTargetInfo()
instead. cn.jpush.im.android.api.model.Message.getTargetID() deprecated in sdk version 1.1.4. UseMessage.getTargetInfo()
instead. cn.jpush.im.android.api.model.Message.getTargetName() deprecated in sdk version 1.1.4. UseMessage.getTargetInfo()
instead. cn.jpush.im.android.api.model.GroupMemberInfo.isKeepSilence() deprecated in jmessage 2.8.2 useGroupInfo.getGroupSilenceList(RequestCallback)
()} instead cn.jpush.im.android.api.model.GroupInfo.isKeepSilence(String, String) deprecated in jmessage 2.8.2 useGroupInfo.getGroupMemberSilence(String, String, RequestCallback)
cn.jpush.im.android.api.content.MediaContent.setFormat(String) deprecated in 2.2.1. use constructor to set format cn.jpush.im.android.api.model.GroupInfo.setGroupMemSilence(String, String, boolean, BasicCallback) deprecated in 2.8.2 use#addGroupSilenceWithTime(List, long, BasicCallback)
,#delGroupSilence(List, BasicCallback)
instead cn.jpush.im.android.api.model.UserInfo.setNotename(String) deprecated in 2.2.0,useUserInfo.updateNoteName(String, BasicCallback)
instead. cn.jpush.im.android.api.model.UserInfo.setNoteText(String) deprecated in 2.2.0,useUserInfo.updateNoteText(String, BasicCallback)
instead. cn.jpush.im.android.api.JMessageClient.setNotificationMode(int) deprecated in 2.2.0 useJMessageClient.setNotificationFlag(int)
instead cn.jpush.im.android.api.JMessageClient.updateGroupDescription(long, String, BasicCallback) deprecated in 2.3.0,useGroupInfo.updateDescription(String, BasicCallback)
instead cn.jpush.im.android.api.JMessageClient.updateGroupName(long, String, BasicCallback) deprecated in 2.3.0,useGroupInfo.updateName(String, BasicCallback)
instead
- 上一个
- 下一个