Class RecallEditManager
-
- All Implemented Interfaces:
public class RecallEditManager
-
-
Method Summary
Modifier and Type Method Description static RecallEditManagergetInstance()voidstartCountDown(Message message, long millisInFuture, RecallEditCountDownCallBack callBack)Starts the countdown timer. voidcancelCountDownInConversation(String key)Cancels all countdown timers in the conversation. voidcancelCountDown(String messageId)Cancels the countdown timer for the specified message ID. -
-
Method Detail
-
getInstance
static RecallEditManager getInstance()
-
startCountDown
void startCountDown(Message message, long millisInFuture, RecallEditCountDownCallBack callBack)
Starts the countdown timer.
- Parameters:
message- the messagemillisInFuture- countdown duration in millisecondscallBack- result callback
-
cancelCountDownInConversation
void cancelCountDownInConversation(String key)
Cancels all countdown timers in the conversation.
- Parameters:
key- composed of conversation type name + target ID
-
cancelCountDown
void cancelCountDown(String messageId)
Cancels the countdown timer for the specified message ID.
- Parameters:
messageId- the message ID
-
-
-
-