Package io.rong.imkit.feature.forward

## Class ForwardManager

- All Implemented Interfaces:

      public class ForwardManager

- - ### 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
    --- | --- | ---
    `static ForwardManager` | `getInstance()` |
    `static void` | `setForwardMessageResult(Activity activity, ArrayList<Conversation> conversations)` | 设置转发的会话选择结果。 可以在自定义的转发选择联系人界面, 调用该方法启动合并转发.
    `static List<Message>` | `filterMessagesList(Context context, List<Message> messages, int index)` |
    `void` | `forwardMessages(int index, List<Conversation> conversations, List<Integer> messageIds, List<Message> messages)` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### getInstance

           static ForwardManager getInstance()

    - #### setForwardMessageResult

           static void setForwardMessageResult(Activity activity, ArrayList<Conversation> conversations)

      设置转发的会话选择结果。 可以在自定义的转发选择联系人界面, 调用该方法启动合并转发.

      Parameters:
        `activity` - 选择联系人界面
        `conversations` - 会话类型,只能选择单聊和群聊会话

    - #### filterMessagesList

           static List<Message> filterMessagesList(Context context, List<Message> messages, int index)

    - #### forwardMessages

           void forwardMessages(int index, List<Conversation> conversations, List<Integer> messageIds, List<Message> messages)