public class ForwardManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
exitDestructMode() |
static java.util.List<Message> |
filterMessagesList(android.content.Context context,
java.util.List<Message> messages,
int index) |
void |
forwardMessages(int index,
java.util.List<Conversation> conversations,
java.util.List<java.lang.Integer> messageIds,
java.util.List<Message> messages) |
static ForwardManager |
getInstance() |
static void |
setForwardMessageResult(android.app.Activity activity,
java.util.ArrayList<Conversation> conversations)
设置转发的会话选择结果。
可以在自定义的转发选择联系人界面, 调用该方法启动合并转发.
|
public static ForwardManager getInstance()
public static void setForwardMessageResult(android.app.Activity activity, java.util.ArrayList<Conversation> conversations)
activity
- 选择联系人界面conversations
- 会话类型,只能选择单聊和群聊会话public static java.util.List<Message> filterMessagesList(android.content.Context context, java.util.List<Message> messages, int index)
public void forwardMessages(int index, java.util.List<Conversation> conversations, java.util.List<java.lang.Integer> messageIds, java.util.List<Message> messages)
public void exitDestructMode()