Package io.rong.imlib

## Interface IRongCoreListener.OnReceiveMessageListener

- All Implemented Interfaces:

      public interface IRongCoreListener.OnReceiveMessageListener

  接收消息的监听器。 注意:请切换线程，处理耗时操作。

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract boolean` | `onReceived(Message message, int left)` | 收到消息的处理。
    `boolean` | `onReceived(Message message, ReceivedProfile profile)` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### onReceived

           abstract boolean onReceived(Message message, int left)

      收到消息的处理。

      Parameters:
        `message` - 收到的消息实体。
        `left` - 剩余未拉取消息数目。
      Returns:

        收到消息是否处理完成。

    - #### onReceived

           boolean onReceived(Message message, ReceivedProfile profile)