# RongMentionManager

public class RongMentionManager

## Types

IGroupMemberCallback
Link copied to clipboard
public interface IGroupMemberCallback
IGroupMembersProvider
Link copied to clipboard
public interface IGroupMembersProvider

## Functions

createInstance
Link copied to clipboard
public void createInstance(ConversationType conversationType, String targetId, EditText editText)
destroyInstance
Link copied to clipboard
public void destroyInstance(ConversationType conversationType, String targetId, EditText editText)
getGroupMembersProvider
Link copied to clipboard
public RongMentionManager.IGroupMembersProvider getGroupMembersProvider()
getInstance
Link copied to clipboard
public static RongMentionManager getInstance()
getMentionBlockInfo
Link copied to clipboard
public String getMentionBlockInfo()
mentionMember
Link copied to clipboard
public void mentionMember(UserInfo userInfo)
public void mentionMember(ConversationType conversationType, String targetId, String userId)
onDeleteClick
Link copied to clipboard
public void onDeleteClick(ConversationType type, String targetId, EditText editText, int cursorPos)
onSendToggleClick
Link copied to clipboard
public void onSendToggleClick(Message message, EditText editText)
onTextChanged
Link copied to clipboard
public void onTextChanged(Context context, ConversationType conversationType, String targetId, int cursorPos, int offset, String text, EditText editText)
当输入框文本变化时，回调此方法。
setAddMentionedMemberListener
Link copied to clipboard
public void setAddMentionedMemberListener(IAddMentionedMemberListener listener)
setGroupMembersProvider
Link copied to clipboard
public void setGroupMembersProvider(RongMentionManager.IGroupMembersProvider groupMembersProvider)
设置群组成员提供者。 '@' 功能和VoIP功能在选人界面,需要知道群组内成员信息,开发者需要设置该提供者。 开发者需要在回调中获取到群成员信息 并通过中的方法设置到 sdk 中
setMentionedInputListener
Link copied to clipboard
public void setMentionedInputListener(IMentionedInputListener listener)