Package io.rong.imlib
Class ModuleManager
-
- All Implemented Interfaces:
@Deprecated() public class ModuleManager
注意:以后新功能,尽量不用这个类了。
1.如果是im lib的扩展, 如 remoteControl 或者 moment, 那么使用IMLibExtensionModule
2.如果直接是im client的内部功能之一,如实时位置共享(现在使用的是ModuleManager), 应当直接在RongCoreClient 内处理
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ModuleManager.MessageRouter
public interface
ModuleManager.ConnectivityStateChangedListener
-
Constructor Summary
Constructors Constructor Description ModuleManager()
-
Method Summary
Modifier and Type Method Description static void
addConnectivityStateChangedListener(ModuleManager.ConnectivityStateChangedListener listener)
static void
addMessageRouter(ModuleManager.MessageRouter listener)
static void
removeMessageRouter(ModuleManager.MessageRouter router)
static void
removeConnectivityStateChangedListener(ModuleManager.ConnectivityStateChangedListener listener)
static IRongCoreListener.OnReceiveMessageListener
getListener()
-
-
Method Detail
-
addConnectivityStateChangedListener
static void addConnectivityStateChangedListener(ModuleManager.ConnectivityStateChangedListener listener)
-
addMessageRouter
static void addMessageRouter(ModuleManager.MessageRouter listener)
-
removeMessageRouter
static void removeMessageRouter(ModuleManager.MessageRouter router)
-
removeConnectivityStateChangedListener
static void removeConnectivityStateChangedListener(ModuleManager.ConnectivityStateChangedListener listener)
-
getListener
static IRongCoreListener.OnReceiveMessageListener getListener()
-
-
-
-