云旺OpenIM 1.9.0 API
A B C D E F G H I J L M N O R S U V Y 

A

accept(IWxCallback, long, String) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
同意加入群
addBlackContact(String, String, IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
添加到黑名单
addConnectionListener(IYWConnectionListener) - Method in class com.alibaba.mobileim.YWAccount
增加登录账号跟服务器连接状态的监听,该监听在YWAccount.login(String, String, long, IWxCallback) 回调成功后触发。
addConversationListener(IYWConversationListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
增加会话记录变更监听,包含新增、删除,会话中的数据有变更等
addLoginAccount(String) - Static method in class com.alibaba.mobileim.YWAPI
 
addMessageListener(IYWMessageListener) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
增加消息列表中的的消息变更监听回调,该接口主要用于收到消息推送时,主动通知UI展现层去进行 BaseAdapter#notifyDataSetChanged()操作,以便将最新的消息展现给用户 特别的,如果增加该监听,表明当前该会话中发送的消息都已经被处理,不会回调 IYWPushListener#onPushMessage(String, YWMessage)IYWCrossPushListener#onPushMessage(com.alibaba.mobileim.contact.YWContact, YWMessage) 来通知用户, 如果需要移除,请调用YWMessageLoader.removeMessageListener(IYWMessageListener)
addP2PPushListener(IYWP2PPushListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
注册单聊新消息通知监听
addPushListener(IYWPushListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
注册新消息通知监听
addPushListener(PushListener) - Static method in class com.alibaba.mobileim.YWAPI
设置push消息监听
addTotalUnreadChangeListener(IYWConversationUnreadChangeListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
添加针对全部会话的总体未读消息数变化的监听器
addTribeListener(IYWTribeChangeListener) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
注册群事件通知 具体方法请看 IYWTribeChangeListener
addTribePushListener(IYWTribePushListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
注册群聊新消息通知监听
addUnreadChangeListener(IYWConversationUnreadChangeListener) - Method in class com.alibaba.mobileim.conversation.YWConversation
添加未读消息数变化的监听
asynchronousSyncContactsToCacheAndDB(List<IYWDBContact>, IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
(建议开发者使用自己的DB和Cache来做联系人的持久化和缓存,此接口用于Demo示例) 异步地将联系人同步到云旺的Cache和DB
asynchronousSyncContactsToCacheAndDB(List<IYWDBContact>, IWxCallback) - Method in class com.alibaba.mobileim.contact.YWContactManager
异步地将联系人同步到云旺的Cache和DB

B

blockAtMessage(YWTribe, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
关闭@消息提醒
blockTribe(YWTribe, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
屏蔽群

C

cancelTribeManager(IWxCallback, long, String) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
取消管理员权限
checkHasUnreadAtMsgs(Context, YWConversation, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
检查是否有未读的@消息
checkLoginState(Activity, IWxCallback) - Method in interface com.alibaba.mobileim.login.IYWLoginStateCallback
当前云旺无法登陆,因为当前isv没有调用 YWAccount.login(String, String, long, IWxCallback) ,需要isv检测当前应用是否已经登陆,如果没有登录,请跳转到登陆页面。并完成登陆。 登录完成后请调用 YWAccount.login(String, String, long,IWxCallback) 触发登陆逻辑。 登陆成功后回调 IWxCallback#onSuccess(Object...)来通知登陆完成,登陆失败回调 IWxCallback#onError(int, String)
clearTribeSystemMessages() - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
 
clearTribeSystemMessages(long) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
删除某一个群的系统消息
com.alibaba.mobileim - package com.alibaba.mobileim
 
com.alibaba.mobileim.channel.event - package com.alibaba.mobileim.channel.event
 
com.alibaba.mobileim.contact - package com.alibaba.mobileim.contact
 
com.alibaba.mobileim.conversation - package com.alibaba.mobileim.conversation
 
com.alibaba.mobileim.gingko.model.tribe - package com.alibaba.mobileim.gingko.model.tribe
 
com.alibaba.mobileim.login - package com.alibaba.mobileim.login
 
com.alibaba.mobileim.tribe - package com.alibaba.mobileim.tribe
 
createAPPContact(String, String) - Static method in class com.alibaba.mobileim.contact.YWContactFactory
创建一个跨站联系的联系人
createAudioMessage(String, int, int, String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建语音消息
createAutoReplyRsp(String, JSONObject, String, String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建云端自动回复响应消息
createCardMessage(String, String, String, String, String, int) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建贺卡消息
createConversation(EServiceContact) - Method in class com.alibaba.mobileim.conversation.YWConversationCreater
创建客服会话
createConversationIfNotExist(String) - Method in class com.alibaba.mobileim.conversation.YWConversationCreater
如果当前没有与某个聊天对象的会话记录,则创建一个,如果有将当前的聊天会话记录返回 该方法必须在UI主线程调用
createConversationIfNotExist(IYWContact) - Method in class com.alibaba.mobileim.conversation.YWConversationCreater
如果当前没有与某个聊天对象的会话记录,则创建一个,如果有将当前的聊天会话记录返回 若targetContact中的appKey错误,则该方法返回null,因此用户使用此方法时,一定要判断返回值是否为空,以免出现空指针引用 该方法必须在UI主线程调用
createCustomConversation(String, YWConversationType) - Method in class com.alibaba.mobileim.conversation.YWConversationCreater
创建自定义会话
createCustomMessage(YWMessageBody) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建自定义消息协议的单聊消息
createGeoMessage(double, double, String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建地理位置消息,not for sdk
createGoodsFocusMessage(String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建宝贝焦点消息
createImageMessag(String, String, int, int, int, String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
Deprecated.
createImageMessage(String, String, int, int, int, String, YWEnum.SendImageResolutionType) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建图片消息
createImageMessage(String, String, int, int, int, String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
Deprecated.
createIMCore() - Static method in class com.alibaba.mobileim.YWAPI
Deprecated.
createIMCore(YWAccountType) - Static method in class com.alibaba.mobileim.YWAPI
Deprecated.
createIMCore(String, String) - Static method in class com.alibaba.mobileim.YWAPI
 
createLocalSystemMessage(String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建本地
createOrderFocusMessage(String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建订单消息
createProfileCardMessage(String, String, String, String, String, int) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建名片消息
createShareMessage(IShareMsg) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
 
createTBGifMessage(String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建淘公仔消息, 非淘系的账号体系不要调用该接口
createTextMessage(String) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建文本消息
createTradeFocusMessage(String, String, String, int, long) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建交易焦点的消息
createTribe(IWxCallback, String, String, List<String>) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
Deprecated.
createTribe(IWxCallback, YWTribeCreationParam) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
创建群,新的APP建议使用此方法来创建群或者讨论组
createTribeAtMessage(String, List<String>, int) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建一条群@消息
createTribeAtMessageForWangXin(String, List<String>, int) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建一条群@消息
createTribeAtMessageWithNick(String, List<HashMap<String, String>>, int) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
Deprecated. 
createTribeAtMessageWithNick(List<YWTribeMember>, String, int) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建一条带@群昵称的群@消息
createTribeAtMessageWithNickForWangXin(String, List<HashMap<String, String>>, int) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建一条带@群昵称的群@消息
createTribeConversation(long) - Method in class com.alibaba.mobileim.conversation.YWConversationCreater
创建群会话
createTribeCustomMessage(YWMessageBody) - Static method in class com.alibaba.mobileim.conversation.YWMessageChannel
创建自定义消息协议的群消息

D

deleteAllConversation() - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
删除所有的会话记录,并清空消息 该方法必须在UI主线程调用
deleteAllMessage() - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
删除会话中的所有消息记录 该方法必须在ui主线程调用
deleteConversation(YWConversation) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
删除某一条会话记录,并清空消息 该方法必须在UI主线程调用
deleteMessage(YWMessage) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
删除会话中的某一条消息记录 该方法必须在ui主线程调用
disbandTribe(IWxCallback, long) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
解散群
downloadFile(YWMessage, String, String, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWFileManager
下载某一条消息中的文件记录 图片消息会下载图片的预览图,即YWImageMessageBody#getContent()
语音消息会下载语音文件,即YWAudioMessageBody#getContent() 请在异步线程调用该方法!!!
downloadFile(String, String, String, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWFileManager
下载某一个文件记录到本地 该文件地址必须是云旺服务器提供的url地址。 或者文件的头文件中包含ContentLength或Content-Length 请在异步线程调用该方法!!!

E

enableBlackList() - Static method in class com.alibaba.mobileim.contact.IYWContactService
开启黑名单功能,如果需要使用黑名单功能,请务必调用该方法,否则黑名单功能无效
enableSDKLogOutput(boolean) - Static method in class com.alibaba.mobileim.YWAPI
关闭与开启SDK的LOG输出
exitFromTribe(IWxCallback, long) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
主动退出群
expelMember(IWxCallback, long, String) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
踢除群中的某些人

F

fetchUserProfile(List<String>, String, IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取带域profile信息
fetchUserProfiles(List<String>, IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取当前域用户的profile信息

G

getAllTribes() - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
从本地获取群列表
getAllTribesFromServer(IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
获取群列表, 获取到的对象仅仅包含群ID和群名称
getAllUnreadCount() - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取所有会记录的未读总数 该方法必须在UI主线程调用
getAppKey() - Method in interface com.alibaba.mobileim.contact.IYWContact
获取appKey
getAppKey() - Method in class com.alibaba.mobileim.YWAccount
 
getAtFlag() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息的atFlag
getAtFlag() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
返回群@消息设定值
getAtMsgAckUid() - Method in class com.alibaba.mobileim.conversation.YWMessage
标识是哪个用户发送的已读确认
getAtMsgAckUUid() - Method in class com.alibaba.mobileim.conversation.YWMessage
标识是对那条@消息的已读确认
getAtMsgInConversation(String, int) - Method in class com.alibaba.mobileim.conversation.YWConversation
获取当前用户在该回话的所有@消息
getAtMsgList(Context, List<YWConversation>, int, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取每个会话的@消息列表
getAtMsgReadUnReadCount(List<YWMessage>, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
获取@消息的已读未读数
getAtMsgReadUnReadCount(YWMessage, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
获取单条@消息的已读未读数
getAtMsgReadUnreadList(YWMessage, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
Deprecated. 
getAtMsgReadUnreadTribeMemberList(YWMessage, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
获取某条@消息的已读未读列表
getAuthorAppkey() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息发送者所属的应用
getAuthorId() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息发送者的长Id
getAuthorUserId() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息的作者userId
getAuthorUserName() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息的作者显示名称
getAvatarPath() - Method in interface com.alibaba.mobileim.contact.IYWContact
聊天对象头像的http地址
getCloudManager() - Method in class com.alibaba.mobileim.YWAccount
获取漫游管理器,用于处理漫游相关逻辑
getContactHeadClickCallback() - Method in class com.alibaba.mobileim.contact.IYWContactService
获得头像点击的回调
getContactHeadClickCallback() - Method in class com.alibaba.mobileim.contact.YWContactManager
 
getContactManager() - Method in class com.alibaba.mobileim.YWAccount
获取联系人管理实例
getContactProfileCallback() - Method in class com.alibaba.mobileim.contact.IYWContactService
获取当前设置的profile信息回调
getContactProfileCallback() - Method in class com.alibaba.mobileim.contact.YWContactManager
获取当前设置的profile信息回调
getContactProfileInfo(String, String) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取用户昵称和头像信息,如果用户通过setContactProfileCallback或者setCrossContactProfileCallback 方法设置了callback,此方法会直接调用用户设置的回调。如果没有设置,则SDK会向服务器做请求处理
getContactService() - Method in class com.alibaba.mobileim.YWIMCore
 
getContactsFromCache() - Method in class com.alibaba.mobileim.contact.IYWContactService
(建议开发者使用自己的DB和Cache来做联系人的持久化和缓存,此接口用于Demo中的联系人示例程序) 从cache获取联系人(由于不同账号的DB不同,因此无需担心串号问题)
getContent() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息内容
getConversation(String) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
Deprecated.
getConversation(long) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
Deprecated.
getConversation(EServiceContact) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
与某个聊天对象的会话记录
getConversationBody() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取会话详情信息
getConversationByConversationId(String) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取某个会话记录 该方法必须在UI主线程调用
getConversationById(String) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
Deprecated.
getConversationByUserId(String) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取与某个聊天对象的会话记录 该方法必须在UI主线程调用
getConversationByUserId(String, String) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取与某个聊天对象的会话记录 该方法必须在UI主线程调用
getConversationCreater() - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取会话的创建器
getConversationId() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取会话id
getConversationId() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息所属会话id
getConversationList() - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取当前登录用户所有的聊天会话,该列表只做只做只读用途,请勿自行往集合中增删东西,请通过云旺提供的api进行增删 该方法必须在UI主线程调用
getConversationManager() - Method in class com.alibaba.mobileim.YWAccount
Deprecated.
getConversationService() - Method in class com.alibaba.mobileim.YWAccount
 
getConversationService() - Method in class com.alibaba.mobileim.YWIMCore
获取会话相关服务
getConversationType() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取会话类型
getCrossContactProfileCallback() - Method in class com.alibaba.mobileim.contact.IYWContactService
获取当前设置的跨域消息互通profile信息回调
getCrossContactProfileCallback() - Method in class com.alibaba.mobileim.contact.YWContactManager
获取当前设置的跨域消息互通profile信息回调
getCurrentUser() - Static method in class com.alibaba.mobileim.YWAPI
 
getCustomConversation(String) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取自定义会话
getCustomConversationByConversationId(String) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
根据会话Id查询自定义会话
getCustomViewConversationByConversationId(String) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
根据会话Id查询自定义View的会话
getErrorDescription(int) - Static method in class com.alibaba.mobileim.login.YWLoginCode
 
getFileManager() - Method in class com.alibaba.mobileim.YWAccount
获取文件相关的管理器,可以使用该实例辅助完成文件上传下载
getHasSend() - Method in class com.alibaba.mobileim.conversation.YWMessage
消息是否发送成功
getIMKitInstance() - Static method in class com.alibaba.mobileim.YWAPI
 
getIMKitInstance(YWAccountType) - Static method in class com.alibaba.mobileim.YWAPI
Deprecated.
getIMKitInstance(String, String) - Static method in class com.alibaba.mobileim.YWAPI
 
getInternalConfig() - Method in class com.alibaba.mobileim.YWAccount
 
getLastestMessage() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取最近一条消息
getLatestContent() - Method in class com.alibaba.mobileim.conversation.YWConversation
最新最近一条消息的内容
getLatestMessageAuthorAppKey() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取会话中最后一条消息发送者的AppKey
getLatestMessageAuthorId() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取会话中最后一条消息发送者ID
getLatestTime() - Method in class com.alibaba.mobileim.conversation.YWConversation
Deprecated.
getLatestTimeInMillisecond() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取最近聊天的时间
getLatestUnreadAtMsg() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取该会话中最近一条未读@消息
getLatestUnreadAtMsgId() - Method in class com.alibaba.mobileim.conversation.YWConversation
 
getLoginAccountList() - Static method in class com.alibaba.mobileim.YWAPI
 
getLoginService() - Method in class com.alibaba.mobileim.YWIMCore
获取登录service
getLoginState() - Method in class com.alibaba.mobileim.YWAccount
获取云旺当前的登录状态
getLoginStateCallback() - Method in class com.alibaba.mobileim.YWAccount
获取当前设置的登陆状态监测回调
getLoginToken() - Method in class com.alibaba.mobileim.YWAccount
 
getLoginUserId() - Method in class com.alibaba.mobileim.YWAccount
 
getLongLoginUserId() - Method in class com.alibaba.mobileim.YWAccount
 
getMasterId() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
获取群主
getMembers(IWxCallback, long) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
从本地获取群成员列表
getMembersFromServer(IWxCallback, long) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
获取旺旺群成员列表
getMessageBody() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息结构体
getMessageLoader() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取消息加载api
getMessageSender() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取消息发送api
getMsgId() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息id
getMsgReadedStatusFromServer(YWMessage, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
获取消息已读状态,如果是已经读过,会自动将消息设置为已读状态
getMsgReadedStatusFromServer(List<YWMessage>, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
获取消息已读状态,如果是已经读过,会自动将传入的消息的状态修改为已读
getMsgReadStatus() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息是否真正被读过(即出现在接收方的屏幕中)
getMsgRecFlagForContact(IYWContact) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取针对某一联系人contact的消息接收配置
getMsgRecFlagForContact(String, String) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取针对某一联系人contact的消息接收配置,适用于调用时无法获取联系人IYWContact对象
getMsgRecFlagForContactFromServer(String, String, int, IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取针对某一联系人contact的消息接收配置,适用于调用时无法获取联系人IYWContact对象
getMsgRecType() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
返回该群消息设定值
getMultiAccountIMKitMap() - Static method in class com.alibaba.mobileim.YWAPI
 
getMySelfInfoInTribe(long, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
 
getReadCount() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取@消息的已读人数
getRecentConversations(int, boolean, boolean, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
获取最近联系人,该列表只做只读用途, 该方法必须在UI主线程调用
getSendImageResolutionType() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取该[消息]发送时图片的清晰度类型
getServerTime() - Method in class com.alibaba.mobileim.YWAccount
获取当前的服务器时间
getShowName() - Method in interface com.alibaba.mobileim.contact.IYWContact
聊天对象的显示名称
getShowName() - Method in class com.alibaba.mobileim.YWAccount
获取当前登录账号的显示名称
getSubType() - Method in class com.alibaba.mobileim.conversation.YWMessage
消息的类型,如果碰到不在YWMessage.SUB_MSG_TYPE中定义的消息,可能碰到新版本发送的消息类型,此时可进行应用版本的提示升级
getTime() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息时间
getTimeInMillisecond() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取消息时间
getTribe(long) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
获取单个群 从缓存中获取单个群,如果缓存不存在,则返回null
getTribeCheckMode() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
获取某个群的验证方式 YWTribeCheckMode
getTribeConversation(long) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
根据群ID,获取群会话
getTribeFromServer(IWxCallback, long) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
从服务器获取单个群信息,获取成功后,会更新缓存和数据库中的信息
getTribeIcon() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
获取群图标
getTribeId() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
获取群ID号
getTribeManager() - Method in class com.alibaba.mobileim.YWAccount
Deprecated.
getTribeMemberNickFromServer(long, List<String>, String, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
获取群成员昵称
getTribeName() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
获取群名称
getTribeNotice() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
获取群公告,首次调用,需要先调用getTribeFromServer(com.alibaba.mobileim.channel.event.IWxCallback, long)
getTribeService() - Method in class com.alibaba.mobileim.YWAccount
 
getTribeService() - Method in class com.alibaba.mobileim.YWIMCore
获取群相关的服务
getTribesMsgRecSettingsFromServer(List<Long>, int, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
从服务端查询群设定
getTribeSystemMessages(IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
从本地数据库获取群系统消息
getTribeType() - Method in interface com.alibaba.mobileim.gingko.model.tribe.YWTribe
获取群类型
getUnreadAtMsgInConversation(String) - Method in class com.alibaba.mobileim.conversation.YWConversation
获取当前用户在该会话中的未读@消息
getUnreadCount() - Method in class com.alibaba.mobileim.conversation.YWConversation
获取未读条数
getUnreadCount() - Method in class com.alibaba.mobileim.conversation.YWMessage
获取@消息的未读人数
getUserId() - Method in interface com.alibaba.mobileim.contact.IYWContact
聊天对象登陆在云旺的id
getValue() - Method in enum com.alibaba.mobileim.conversation.YWConversationType
获取会话类型枚举对应的int值
getValue() - Method in enum com.alibaba.mobileim.login.YWLoginState
 
getWxAccount() - Method in class com.alibaba.mobileim.YWAccount
 
getWXContactManager() - Method in class com.alibaba.mobileim.YWAccount
 
getWXIMContact(String) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取聊天对象的信息
getWXIMContact(String, String) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取聊天对象的信息
getWXTribeManager() - Method in class com.alibaba.mobileim.YWAccount
 
getYWSDKGlobalConfig() - Static method in class com.alibaba.mobileim.YWAPI
 

H

hasUnreadAtMsg() - Method in class com.alibaba.mobileim.conversation.YWConversation
判断该会话中是否还有未读的@消息

I

ICommuStateListener - Interface in com.alibaba.mobileim.channel.event
网络状态变更监听
IM_AUDIO - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
语音消息
IM_AUTO_REPLY_RSP - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
云端自动回复消息的响应
IM_CARD - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
贺卡
IM_GEO - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
地理位置信息
IM_GIF - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
gif消息
IM_GOODS_TRADEFOCUS - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
商品详情交易焦点信息
IM_IMAGE - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
图片消息
IM_INPUT_STATUS - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
 
IM_ORDER_CHANGED - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
 
IM_ORDER_TRADEFOCUS - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
订单交易焦点信息
IM_P2P_CUS - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
单聊的自定义消息类型
IM_PROFILE_CARD - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
名片消息
IM_SHARE - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
分享的图文消息
IM_SYSTEM - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
系统消息非用户发送
IM_SYSTEM_TIP - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
系统提示信息,依附于用户发送的信息,不具备独立显示属性。比如用户发送的信息中有敏感词时的提示信息,不能在通知栏显示, 不能在会话列表作为最新消息显示
IM_TEMPLATE - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
统一模板消息
IM_TEXT - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
纯文本消息
IM_TICKET_TIP - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
 
IM_TRIBE_CUS - Static variable in class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
多人聊天的自定义消息类型
init(Application, String) - Static method in class com.alibaba.mobileim.YWAPI
初始化云旺
inviteMembers(IWxCallback, long, List<String>) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
主动发起邀请加入群
isAtMsgAck() - Method in class com.alibaba.mobileim.conversation.YWMessage
判断该条消息是否是@消息的已读确认
isAtMsgHasRead() - Method in class com.alibaba.mobileim.conversation.YWMessage
 
isBlackContact(String, String) - Method in class com.alibaba.mobileim.contact.IYWContactService
该用户是否在黑名单中
isBlackListEnable() - Static method in class com.alibaba.mobileim.contact.IYWContactService
黑名单功能是否已开启
isDataLoaded() - Method in class com.alibaba.mobileim.YWAccount
 
isDataLoaded() - Method in class com.alibaba.mobileim.YWIMCore
判断基础数据有无初始化成功,比如最近会话列表
isPCWWOnline() - Method in class com.alibaba.mobileim.YWAccount
 
isTop() - Method in class com.alibaba.mobileim.conversation.YWConversation
是否是置顶会话, 会话可置顶
IWxCallback - Interface in com.alibaba.mobileim.channel.event
sdk异步请求统一回调接口
IYWConnectionListener - Interface in com.alibaba.mobileim.login
云旺的登陆状态回调
IYWContact - Interface in com.alibaba.mobileim.contact
联系人信息
IYWContactHeadClickCallback - Interface in com.alibaba.mobileim.contact
Created by zhaoxu on 2015/10/13.
IYWContactProfileCallback - Interface in com.alibaba.mobileim.contact
云旺依赖的个人profile获取回调
IYWContactService - Class in com.alibaba.mobileim.contact
Created by floyd on 15-7-31.
IYWContactService() - Constructor for class com.alibaba.mobileim.contact.IYWContactService
 
IYWConversationListener - Interface in com.alibaba.mobileim.conversation
云旺聊天会话内容的变更监听
IYWConversationService - Interface in com.alibaba.mobileim.conversation
 
IYWConversationUnreadChangeListener - Interface in com.alibaba.mobileim.conversation
云旺聊天会话未读消息数变化的监听(对“全部会话监听”和“特定会话监听”两种场景均适用)
IYWCrossContactProfileCallback - Interface in com.alibaba.mobileim.contact
云旺依赖的个人profile获取回调 有跨站消息互通时的回调接口。如果没有跨站消息互通需求,则无需注册该监听
IYWLoginService - Interface in com.alibaba.mobileim
 
IYWLoginStateCallback - Interface in com.alibaba.mobileim.login
云旺IM登陆状态相关的接口回调
IYWMessageListener - Interface in com.alibaba.mobileim.conversation
云旺通知某个一聊天对象聊天的消息内容变更
IYWP2PPushListener - Interface in com.alibaba.mobileim
云旺针对单聊新消息到达的监听
IYWTribePushListener - Interface in com.alibaba.mobileim
云旺针对群聊新消息到达的监听
IYWTribeService - Interface in com.alibaba.mobileim.tribe
新设计的接口,后续用户应该使用这个接口

J

joinTribe(IWxCallback, long) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
主动加入群
joinTribe(IWxCallback, long, YWTribeCheckMode, String) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
主动加入群(需要验证)

L

loadAllImageMessage(IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
加载会话中的所有的图片你消息记录,该接口主要用于图片联播功能。
loadAtMessages(int, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
加载指定条数的@消息
loadAtMessages(YWMessage, int, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
以某条消息为起始点加载指定条数@消息
loadAtMessages(YWMessage, int, int, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
以某条消息为起始点加载指定条数@消息
loadContactInfo(List<String>, IWxCallback) - Method in class com.alibaba.mobileim.contact.YWContactManager
淘系账号获取profile的调用接口
loadMessage(int, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
加载历史消息记录列表。消息记录的列表由云旺SDK维护,isv调用方需要作为只读用途,请勿往返回的消息列表中增删内容。 需要对列表操作请直接访问 YWConversation的相关接口。 在获取到消息列表,如果是图片语音等相关的文件消息,可以使用 YWFileManager来进行文件的辅助下载,也可以自行根据url地址进行下载。 推荐使用 YWFileManager,这样云旺SDK内部可对下载状态进行维护
loadMoreMessage(int, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
Deprecated.
loadMoreMessage(IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
 
loadMsgContext(YWMessage, int, int, IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
加载message的上下文
login(String, String, long, IWxCallback) - Method in interface com.alibaba.mobileim.IYWLoginService
Deprecated.
login(String, String, YWPwdType, long, IWxCallback) - Method in interface com.alibaba.mobileim.IYWLoginService
Deprecated.
login(YWLoginParam, IWxCallback) - Method in interface com.alibaba.mobileim.IYWLoginService
登陆到云旺服务器。当与服务器约定password发生变更时,需要重新调用该接口。 否则会导致云旺回调 请求登陆,调用此方法后,若网络连接断开,sdk会在后台以5秒轮询尝试登陆,尝试20次后,时间间隔会变长,但是不断的去尝试重登 IYWConnectionListener.onDisconnect(int, String) not for sdk 该接口不是提供给SDK调用的
login(String, String, long, IWxCallback) - Method in class com.alibaba.mobileim.YWAccount
Deprecated.
login(String, String, YWPwdType, long, IWxCallback) - Method in class com.alibaba.mobileim.YWAccount
Deprecated.
login(com.alibaba.mobileim.YWLoginParam, IWxCallback) - Method in class com.alibaba.mobileim.YWAccount
登陆到云旺服务器。当与服务器约定password发生变更时,需要重新调用该接口。 否则会导致云旺回调 请求登陆,调用此方法后,若网络连接断开,sdk会在后台以5秒轮询尝试登陆,尝试20次后,时间间隔会变长,但是不断的去尝试重登 IYWConnectionListener.onDisconnect(int, String)

not for sdk 该接口不是提供给SDK调用的

LOGOFF_OK - Static variable in class com.alibaba.mobileim.login.YWLoginCode
登出成功
LOGON_FAIL_ALREADY_LOGININ - Static variable in class com.alibaba.mobileim.login.YWLoginCode
当前已经有账号登陆,请先登出
LOGON_FAIL_DISABLE_APPKEY - Static variable in class com.alibaba.mobileim.login.YWLoginCode
该isv的登陆能力被旺信服务端禁止
LOGON_FAIL_EXCEPTION - Static variable in class com.alibaba.mobileim.login.YWLoginCode
内部出现了异常
LOGON_FAIL_INVALIDPWD - Static variable in class com.alibaba.mobileim.login.YWLoginCode
密码错误或者token失效,
在调用YWAccount.login(String, String, long, com.alibaba.mobileim.channel.event.IWxCallback) 失败时,表明password输入错误
在调用IYWConnectionListener.onDisconnect(int, String)失败时, 表明password失效了,需要重新获取password来调用 YWAccount.login(String, String, long, com.alibaba.mobileim.channel.event.IWxCallback)
LOGON_FAIL_INVALIDUSER - Static variable in class com.alibaba.mobileim.login.YWLoginCode
用户不存在
LOGON_FAIL_KICKOFF - Static variable in class com.alibaba.mobileim.login.YWLoginCode
被其他终端踢下线
LOGON_FAIL_NOT_FIT_SERVER - Static variable in class com.alibaba.mobileim.login.YWLoginCode
登错服务器,需要引导到卖家版旺旺 登录错服务器 比如这个app不支持子账号登陆
LOGON_FAIL_OLD_VERSION - Static variable in class com.alibaba.mobileim.login.YWLoginCode
版本强制升级
LOGON_FAIL_OTHER_ERR - Static variable in class com.alibaba.mobileim.login.YWLoginCode
其它错误
LOGON_FAIL_SYSBLOCK - Static variable in class com.alibaba.mobileim.login.YWLoginCode
被系统禁止
LOGON_FAIL_TIME_OUT - Static variable in class com.alibaba.mobileim.login.YWLoginCode
登陆超时
LOGON_FAIL_UNKNOWN - Static variable in class com.alibaba.mobileim.login.YWLoginCode
未知登陆错误。包含子账号过期,二次验证,验证码逻辑等一系列不应该在云旺sdk中出现的错误
LOGON_OK - Static variable in class com.alibaba.mobileim.login.YWLoginCode
登陆成功
logout(IWxCallback) - Method in interface com.alibaba.mobileim.IYWLoginService
登出云旺服务器
logout(IWxCallback) - Method in class com.alibaba.mobileim.YWAccount
登出云旺服务器

M

markAllReaded() - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
将所有的消息记录置为已读 该方法必须在UI主线程调用
markReaded(YWConversation) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
将所有的消息记录置为已读 该方法必须在UI主线程调用
mCurrentUser - Static variable in class com.alibaba.mobileim.YWAPI
 
modifyTribeCheckMode(IWxCallback, long, int, String) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
Deprecated.
modifyTribeCheckMode(IWxCallback, long, YWTribeCheckMode, String) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
修改群的验证方式
modifyTribeInfo(IWxCallback, long, String, String) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
修改群名称和公告
modifyTribeUserNick(long, String, String, String, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
修改用户userId的群昵称
MSG_READED_STATUS - Static variable in class com.alibaba.mobileim.conversation.YWMessage
消息已读标志
MSG_UNREADED_STATUS - Static variable in class com.alibaba.mobileim.conversation.YWMessage
消息未读标志

N

notifyContactProfileUpdate() - Method in class com.alibaba.mobileim.contact.IYWContactService
通知个人Profile有更新,如果开发者是异步获取个人信息,获取成功后,请调用此方法, 让SDK及时刷新用户信息(昵称,头像)

O

onCommuStrengthChange(int) - Method in interface com.alibaba.mobileim.channel.event.ICommuStateListener
网络强度变更
onCommuTypeChange(WXCommuType) - Method in interface com.alibaba.mobileim.channel.event.ICommuStateListener
网络类型变更
onDisconnect(int, String) - Method in interface com.alibaba.mobileim.login.IYWConnectionListener
与服务器连接断开,可能是密码失效,详见错误码YWLoginCode
onFetchContactInfo(String) - Method in interface com.alibaba.mobileim.contact.IYWContactProfileCallback
同步获取profile信息,该接口在UI线程回调。请isv注意相关多线程问题 云旺使用场景中个人信息的展示不使用实时更新的机制。 在需要时回调该接口获取当前最新的用户信息。如果回调后用户信息发生变更,云旺 SDK在再次回调该接口前无法感知。 如果该处有相关体验问题,可联系云旺团队协商
onFetchContactInfo(String, String) - Method in interface com.alibaba.mobileim.contact.IYWCrossContactProfileCallback
同步获取profile信息,该接口在UI线程回调。请isv注意相关多线程问题 云旺使用场景中个人信息的展示不使用实时更新的机制,即改回掉需要返回当前最新的用户信息。如果回调后用户信息发生变更,云旺 SDK再再次回调该接口前无法感知。 如果该处有相关体验问题,可联系云旺团队协商
onInputStatus(byte) - Method in interface com.alibaba.mobileim.conversation.IYWMessageListener
输入状态
onItemComing() - Method in interface com.alibaba.mobileim.conversation.IYWMessageListener
新消息通知
onItemUpdated() - Method in interface com.alibaba.mobileim.conversation.IYWConversationListener
会话有更新,例如新增会话,删除会话,会话指定
onItemUpdated() - Method in interface com.alibaba.mobileim.conversation.IYWMessageListener
消息内容变更通知
onPushMessage(IYWContact, YWMessage) - Method in interface com.alibaba.mobileim.IYWP2PPushListener
有未处理的聊天消息需要通知给用户 收到此消息时,可以调用Notification来发送消息通知
onPushMessage(YWTribe, YWMessage) - Method in interface com.alibaba.mobileim.IYWTribePushListener
群相关的消息回调
onReConnected() - Method in interface com.alibaba.mobileim.login.IYWConnectionListener
后台重新登录成功后的回调
onReConnecting() - Method in interface com.alibaba.mobileim.login.IYWConnectionListener
后台重新登录中的登录回调
onShowProfileActivity(String, String) - Method in interface com.alibaba.mobileim.contact.IYWContactHeadClickCallback
 
onShowProfileActivity(String) - Method in interface com.alibaba.mobileim.contact.IYWContactProfileCallback
Deprecated.
onShowProfileActivity(String, String) - Method in interface com.alibaba.mobileim.contact.IYWCrossContactProfileCallback
Deprecated.
onUnreadChange() - Method in interface com.alibaba.mobileim.conversation.IYWConversationUnreadChangeListener
会话的未读消息数产生变化 如新消息到达、消息被阅读等

R

receiveNotAlertTribeMsg(YWTribe, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
接收群消息但不提醒
registerContactsListener(IContactListListener) - Method in class com.alibaba.mobileim.contact.IYWContactService
(建议开发者使用自己的DB和Cache来做联系人的持久化和缓存,此接口用于Demo中的联系人示例程序) 注册联系人变动监听
removeBlackContact(String, String, IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
移出黑名单
removeConnectionListener(IYWConnectionListener) - Method in class com.alibaba.mobileim.YWAccount
注销登录账号状态变更监听
removeConversationListener(IYWConversationListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
移除会话记录变更监听
removeLoginAccount(String) - Static method in class com.alibaba.mobileim.YWAPI
 
removeMessageListener(IYWMessageListener) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
注销消息列表变更监听
removeP2PPushListener(IYWP2PPushListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
注销单聊新消息通知监听
removePushListener(IYWPushListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
注销新消息通知监听
removeTopConversation(YWConversation) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
将当前会话取消置顶 该方法必须在UI主线程调用
removeTotalUnreadChangeListener(IYWConversationUnreadChangeListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
删除针对全部会话的总体未读消息数变化的监听器
removeTribeListener(IYWTribeChangeListener) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
移除群事件通知 具体方法请看 IYWTribeChangeListener
removeTribePushListener(IYWTribePushListener) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
注销群聊新消息通知监听
removeUnreadChangeListener(IYWConversationUnreadChangeListener) - Method in class com.alibaba.mobileim.conversation.YWConversation
删除未读消息数变化的监听

S

sendAtMsgReadAck(YWMessage, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
发送单条消息的已读确认
sendAtMsgReadAckBatch(List<YWMessage>, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
批量发送已读确认
sendMessage(YWMessage, long, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWMessageSender
向会话对应的聊天对象userId发送一条消息 该方法必须在ui主线程调用
setAppKey(String) - Method in class com.alibaba.mobileim.YWAccount
 
setContactHeadClickCallback(IYWContactHeadClickCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
设置头像点击的回调事件
setContactHeadClickCallback(IYWContactHeadClickCallback) - Method in class com.alibaba.mobileim.contact.YWContactManager
设置头像点击的回调事件
setContactMsgRecType(IYWContact, int, int, IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
设置联系人消息接收类型
setContactProfileCallback(IYWContactProfileCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
设置当前的profile信息回调
setContactProfileCallback(IYWContactProfileCallback) - Method in class com.alibaba.mobileim.contact.YWContactManager
设置当前的profile信息回调
setCrossContactProfileCallback(IYWCrossContactProfileCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
设置当前的跨域消息互通pprofile信息回调
setCrossContactProfileCallback(IYWCrossContactProfileCallback) - Method in class com.alibaba.mobileim.contact.YWContactManager
设置当前的跨域消息互通pprofile信息回调
setCurrentUserShowName(String) - Method in class com.alibaba.mobileim.YWAccount
设置当前登录用户的显示姓名,该接口主要供ios系统推送通知使用。如果isv同时拥有ios版本的应用,需要设置该值, 以便ios系统的push能够正常显示。 当用户显示姓名变更时,需要重新调用该接口变更用户的显示姓名
setEnableCrashHandler(boolean) - Static method in class com.alibaba.mobileim.YWAPI
设置是否启用SDK的CrashHandler
setLoginStateCallback(IYWLoginStateCallback) - Method in class com.alibaba.mobileim.YWAccount
设置当前登录状态监测回调
setMemberRole(IWxCallback, long, String, int) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
Deprecated.
setMsgReadedStatusToServer(YWMessage, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
设置消息已读
setMsgReadedStatusToServer(List<YWMessage>, IWxCallback) - Method in class com.alibaba.mobileim.conversation.YWConversation
设置消息已读
setMsgReadStatus(int) - Method in class com.alibaba.mobileim.conversation.YWMessage
设置消息是否被读过(出现在接收方的屏幕中) 此设置仅仅是内存的修改
setSessionId(String) - Method in class com.alibaba.mobileim.YWAccount
更新当前用户的sessionId

not for sdk

setTopConversation(YWConversation) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
将当前会话置顶 该方法必须在UI主线程调用
setTribeManager(IWxCallback, long, String) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
设置为管理员
syncBlackContacts(IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
获取黑名单列表
syncContactsOnlineStatus(List<IYWContact>, IWxCallback) - Method in class com.alibaba.mobileim.contact.IYWContactService
请求联系人在线状态
syncRecentConversations(IWxCallback) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
[同步最近会话]:从服务器获取最近20个联系人及每人对应会话的最近1条消息]

U

unblockAtMessage(YWTribe, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
打开@消息提醒
unblockTribe(YWTribe, IWxCallback) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
重新接收消息
unRegisterContactsListener(IContactListListener) - Method in class com.alibaba.mobileim.contact.IYWContactService
(建议开发者使用自己的DB和Cache来做联系人的持久化和缓存,此接口用于Demo中的联系人示例程序) 取消联系人变动监听
updateAtMsgInConversationRead(String) - Method in class com.alibaba.mobileim.conversation.YWConversation
把该会话中所有的@消息设为已读
updateAtMsgRead(YWMessage, String) - Method in class com.alibaba.mobileim.conversation.YWConversation
把会话中的单条at消息置为已读
updateAtMsgsRead(List<YWMessage>, String) - Method in class com.alibaba.mobileim.conversation.YWConversation
批量把会话中的at消息置为已读
updateContactInfo(Contact) - Method in interface com.alibaba.mobileim.contact.IYWCrossContactProfileCallback
 
updateIMKitInstance(String, String) - Static method in class com.alibaba.mobileim.YWAPI
更新imKit,如果用户使用电话或者邮箱登陆,那么mMultiAccountIMKitMap中的key就是prefix+电话/邮箱, 因此用户登陆成功后需要把key改为longUserId
updateMessageTODB(YWMessage) - Method in interface com.alibaba.mobileim.conversation.YWMessageLoader
更新消息到数据库,主要用于语音消息已读状态变更的调用
updateOrCreateCustomConversation(YWCustomConversationUpdateModel) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
仅用于更新或者创建一个自定义会话,如果会话已存在则更新 。conversationId作为会话的标识必须传入.unreadCount 属性如果设置了会累加。
updateOrCreateCustomViewConversation(YWCustomConversationUpdateModel) - Method in interface com.alibaba.mobileim.conversation.YWConversationManager
更新或者创建一个自定义View展示的会话,如果会话已存在则更新。
updateProfileInfo(String, YWProfileInfo) - Method in class com.alibaba.mobileim.contact.IYWContactService
更新个人信息
updateTribeSystemMessage(YWMessage) - Method in interface com.alibaba.mobileim.tribe.YWTribeManager
 

V

valueOf(String) - Static method in enum com.alibaba.mobileim.conversation.YWConversationType
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.alibaba.mobileim.conversation.YWConversationType
根据[会话类型枚举对应的int值]获取[会话类型]
valueOf(String) - Static method in enum com.alibaba.mobileim.login.YWLoginState
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.alibaba.mobileim.login.YWLoginState
 
values() - Static method in enum com.alibaba.mobileim.conversation.YWConversationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.mobileim.login.YWLoginState
Returns an array containing the constants of this enum type, in the order they are declared.

Y

YWAccount - Class in com.alibaba.mobileim
import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; 云旺提供的基于非淘系账号的IM解决方案api入口,该解决方案不提供UI定制功能,需要isv自行实现UI。该接口api提供底层登陆、 /** 云旺提供的基于非淘系账号的IM解决方案api入口,该解决方案不提供UI定制功能,需要isv自行实现UI。该接口api提供底层登陆、 消息收发逻辑的封装支持。 1.
YWAPI - Class in com.alibaba.mobileim
云旺聊天中初始化相关的通道
YWAPI() - Constructor for class com.alibaba.mobileim.YWAPI
 
YWContactFactory - Class in com.alibaba.mobileim.contact
联系人创建类
YWContactFactory() - Constructor for class com.alibaba.mobileim.contact.YWContactFactory
 
YWContactManager - Class in com.alibaba.mobileim.contact
 
YWContactManager() - Constructor for class com.alibaba.mobileim.contact.YWContactManager
 
YWConversation - Class in com.alibaba.mobileim.conversation
 
YWConversation() - Constructor for class com.alibaba.mobileim.conversation.YWConversation
 
YWConversationCreater - Class in com.alibaba.mobileim.conversation
会话创建器
YWConversationCreater() - Constructor for class com.alibaba.mobileim.conversation.YWConversationCreater
 
YWConversationManager - Interface in com.alibaba.mobileim.conversation
云旺聊天场景的会话统一管理接口 云旺中,聊天的能力通过会话组织,

1.
YWConversationType - Enum in com.alibaba.mobileim.conversation
会话类型
YWFileManager - Class in com.alibaba.mobileim.conversation
云旺提供的文件下载能力
YWFileManager() - Constructor for class com.alibaba.mobileim.conversation.YWFileManager
 
YWIMCore - Class in com.alibaba.mobileim
云旺提供的基于非淘系账号的IM解决方案api入口,该解决方案不提供UI定制功能,需要isv自行实现UI。该接口api提供底层登陆、 消息收发逻辑的封装支持。 1.
YWLoginCode - Class in com.alibaba.mobileim.login
登陆失败的错误码
YWLoginCode() - Constructor for class com.alibaba.mobileim.login.YWLoginCode
 
YWLoginState - Enum in com.alibaba.mobileim.login
旺信登陆状态切换
YWMessage - Class in com.alibaba.mobileim.conversation
云旺聊天的消息内容
YWMessage() - Constructor for class com.alibaba.mobileim.conversation.YWMessage
 
YWMessage.SUB_MSG_TYPE - Class in com.alibaba.mobileim.conversation
详细消息的类型
YWMessage.SUB_MSG_TYPE() - Constructor for class com.alibaba.mobileim.conversation.YWMessage.SUB_MSG_TYPE
 
YWMessageChannel - Class in com.alibaba.mobileim.conversation
云旺的消息创建工厂,可以创建适用于云旺聊天的消息对象
YWMessageLoader - Interface in com.alibaba.mobileim.conversation
消息加载辅助类
YWMessageSender - Class in com.alibaba.mobileim.conversation
消息发送辅助类
YWMessageSender() - Constructor for class com.alibaba.mobileim.conversation.YWMessageSender
 
YWTribe - Interface in com.alibaba.mobileim.gingko.model.tribe
openIM群信息接口
YWTribeManager - Interface in com.alibaba.mobileim.tribe
群的基本功能操作接口,用户可以通过 YWAccount.getTribeManager() 来获取群管理器对象。
A B C D E F G H I J L M N O R S U V Y 
云旺OpenIM 1.9.0 API