Package io.rong.imlib

## Class IMLibExtensionModuleManager

- All Implemented Interfaces:

      public class IMLibExtensionModuleManager

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public Map<String, IMLibExtensionModule>` | `extensionModules` |
    `public Map<String, IMLibExtensionModuleIPC>` | `extensionIPCModules` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `Map<String, IMLibExtensionModule>` | `getExtensionModules()` |
    `void` | `setExtensionModules(Map<String, IMLibExtensionModule> extensionModules)` |
    `Map<String, IMLibExtensionModuleIPC>` | `getExtensionIPCModules()` |
    `static IMLibExtensionModuleManager` | `getInstance()` |
    `void` | `registerModulesByName(List<String> moduleNames)` | module 的注册方法
    `void` | `register(IMLibExtensionModule module)` |
    `void` | `registerIPC(IMLibExtensionModuleIPC module)` |
    `void` | `onCreate(Context context, String appKey)` |
    `boolean` | `onReceiveMessage(Message message, int left, boolean offline, int cmdLeft)` |
    `List<Class<out MessageContent>>` | `getMessageContentList()` |
    `List<Class<out MessageContent>>` | `getCmdMessageContentList()` |
    `void` | `onConnectStatusChanged(IRongCoreListener.ConnectionStatusListener.ConnectionStatus status)` |
    `void` | `onLogout()` |
    `void` | `onDisconnect()` |
    `boolean` | `onRequestHardwareResource(ResourceType resourceType)` |
    `void` | `onServiceConnected(Context context, IHandler stub, IRongCoreListener.OnReceiveMessageListener listener)` |
    `void` | `unRegisterInternal(IMLibExtensionModule module)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### getExtensionModules

           Map<String, IMLibExtensionModule> getExtensionModules()

    - #### setExtensionModules

           void setExtensionModules(Map<String, IMLibExtensionModule> extensionModules)

    - #### getExtensionIPCModules

           Map<String, IMLibExtensionModuleIPC> getExtensionIPCModules()

    - #### getInstance

           static IMLibExtensionModuleManager getInstance()

    - #### registerModulesByName

          @Deprecated() void registerModulesByName(List<String> moduleNames)

      module 的注册方法

      Parameters:
        `moduleNames` - 为 module 的全名集合

    - #### register

           void register(IMLibExtensionModule module)

    - #### registerIPC

           void registerIPC(IMLibExtensionModuleIPC module)

    - #### onCreate

           void onCreate(Context context, String appKey)

    - #### onReceiveMessage

           boolean onReceiveMessage(Message message, int left, boolean offline, int cmdLeft)

    - #### getMessageContentList

           List<Class<out MessageContent>> getMessageContentList()

    - #### getCmdMessageContentList

           List<Class<out MessageContent>> getCmdMessageContentList()

    - #### onConnectStatusChanged

           void onConnectStatusChanged(IRongCoreListener.ConnectionStatusListener.ConnectionStatus status)

    - #### onLogout

           void onLogout()

    - #### onDisconnect

           void onDisconnect()

    - #### onRequestHardwareResource

           boolean onRequestHardwareResource(ResourceType resourceType)

    - #### onServiceConnected

           void onServiceConnected(Context context, IHandler stub, IRongCoreListener.OnReceiveMessageListener listener)

    - #### unRegisterInternal

           void unRegisterInternal(IMLibExtensionModule module)