Interface SendAttachmentListener

  • All Implemented Interfaces:

    
    public interface SendAttachmentListener
    
                        

    Listener that updates the SDK accordingly with the request to send attachments to the backend.

    • 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
      abstract Unit onAttachmentSendRequest(String channelType, String channelId, Message message) Updates the SDK before the attachments are sent to backend.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onAttachmentSendRequest

         abstract Unit onAttachmentSendRequest(String channelType, String channelId, Message message)

        Updates the SDK before the attachments are sent to backend. It can be used to update the database with the message whose attachments are going to be sent or to change the state of the messages that are presented to the end user.

        Parameters:
        channelType - String
        channelId - String
        message - Message