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) Starts the countdown timer.
      void cancelCountDownInConversation(String key) Cancels all countdown timers in the conversation.
      void cancelCountDown(String messageId) Cancels the countdown timer for the specified message 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)

        Starts the countdown timer.

        Parameters:
        message - the message
        millisInFuture - countdown duration in milliseconds
        callBack - 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