Package io.rong.imkit.feature.reference
Class ReferenceManager
-
- All Implemented Interfaces:
public class ReferenceManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceReferenceManager.ReferenceStatusListener
-
Constructor Summary
Constructors Constructor Description ReferenceManager()
-
Method Summary
Modifier and Type Method Description static ReferenceManagergetInstance()voidsetReferenceStatusListener(ReferenceManager.ReferenceStatusListener listener)voidremoveReferenceStatusListener(ReferenceManager.ReferenceStatusListener listener)voidonInit(Context context, String appKey)voidonAttachedToExtension(Fragment fragment, RongExtension extension)voidonDetachedFromExtension()voidonReceivedMessage(Message message)List<IPluginModule>getPluginModules(ConversationType conversationType)List<IEmoticonTab>getEmoticonTabs()voidonDisconnect()voidonTextChanged(Context context, ConversationType type, String targetId, int cursorPos, int count, String text)voidonSendToggleClick(Message message)voidonDestroy(ConversationType type, String targetId)voidhideReferenceView()voidonDeleteClick(ConversationType type, String targetId, EditText editText, int cursorPos)UiMessagegetUiMessage()-
-
Method Detail
-
getInstance
static ReferenceManager getInstance()
-
setReferenceStatusListener
void setReferenceStatusListener(ReferenceManager.ReferenceStatusListener listener)
-
removeReferenceStatusListener
void removeReferenceStatusListener(ReferenceManager.ReferenceStatusListener listener)
-
onInit
void onInit(Context context, String appKey)
-
onAttachedToExtension
void onAttachedToExtension(Fragment fragment, RongExtension extension)
-
onDetachedFromExtension
void onDetachedFromExtension()
-
onReceivedMessage
void onReceivedMessage(Message message)
-
getPluginModules
List<IPluginModule> getPluginModules(ConversationType conversationType)
-
getEmoticonTabs
List<IEmoticonTab> getEmoticonTabs()
-
onDisconnect
void onDisconnect()
-
onTextChanged
void onTextChanged(Context context, ConversationType type, String targetId, int cursorPos, int count, String text)
-
onSendToggleClick
void onSendToggleClick(Message message)
-
onDestroy
void onDestroy(ConversationType type, String targetId)
-
hideReferenceView
void hideReferenceView()
-
onDeleteClick
void onDeleteClick(ConversationType type, String targetId, EditText editText, int cursorPos)
-
getUiMessage
UiMessage getUiMessage()
-
-
-
-