Class RecallEditManager

    • 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 RecallEditManager getInstance()
      void startCountDown(Message message, long millisInFuture, RecallEditCountDownCallBack callBack) 开启倒计时
      void cancelCountDownInConversation(String key) 取消会话中所有的倒计时
      void cancelCountDown(String messageId) 清除指定消息 id 对应的倒计时
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • startCountDown

         void startCountDown(Message message, long millisInFuture, RecallEditCountDownCallBack callBack)

        开启倒计时

        Parameters:
        message - 消息
        millisInFuture - 倒计时时间
        callBack - 结果回调
      • cancelCountDownInConversation

         void cancelCountDownInConversation(String key)

        取消会话中所有的倒计时

        Parameters:
        key - 由会话类型加上目标 id 组合而成,ConversationType.
      • cancelCountDown

         void cancelCountDown(String messageId)

        清除指定消息 id 对应的倒计时

        Parameters:
        messageId - 消息 id