Interface ConversationHolder

All Known Implementing Classes:
ConversationHolderImpl

public interface ConversationHolder
The conversation holder might be used to hold a conversation and additional information like if it was a newly created one or an existing one.
  • Method Summary

    Modifier and Type Method Description
    Conversation getConversation()
    Returns the underlying conversation this holder is built with.
    boolean isNewConversation()
    If this conversation was newly created, this method returns true, for an existing one, it will return false.
  • Method Details

    • getConversation

      Conversation getConversation()
      Returns the underlying conversation this holder is built with.
      Returns:
      the conversation object
    • isNewConversation

      boolean isNewConversation()
      If this conversation was newly created, this method returns true, for an existing one, it will return false.
      Returns:
      true for a newly created conversation, false otherwise