public class RecallEditManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
cancelCountDown(java.lang.String messageId)
清除指定消息 id 对应的倒计时
|
void |
cancelCountDownInConversation(java.lang.String key)
取消会话中所有的倒计时
|
static RecallEditManager |
getInstance() |
void |
startCountDown(Message message,
long millisInFuture,
RecallEditCountDownCallBack callBack)
开启倒计时
|
public static RecallEditManager getInstance()
public void startCountDown(Message message, long millisInFuture, RecallEditCountDownCallBack callBack)
message
- 消息millisInFuture
- 倒计时时间callBack
- 结果回调public void cancelCountDownInConversation(java.lang.String key)
key
- 由会话类型加上目标 id 组合而成,ConversationType.getName()+mTargetIdpublic void cancelCountDown(java.lang.String messageId)
messageId
- 消息 id