public interface Conversable
限定符和类型 | 方法和说明 |
---|---|
void |
abandonConversation(Conversation conversation)
Abandons an active conversation.
|
void |
abandonConversation(Conversation conversation,
ConversationAbandonedEvent details)
Abandons an active conversation.
|
void |
acceptConversationInput(java.lang.String input)
Accepts input into the active conversation.
|
boolean |
beginConversation(Conversation conversation)
Enters into a dialog with a Conversation object.
|
boolean |
isConversing()
Tests to see of a Conversable object is actively engaged in a
conversation.
|
void |
sendRawMessage(java.lang.String message)
Sends this sender a message raw
|
boolean isConversing()
void acceptConversationInput(java.lang.String input)
input
- The input message into the conversationboolean beginConversation(Conversation conversation)
conversation
- The conversation to beginvoid abandonConversation(Conversation conversation)
conversation
- The conversation to abandonvoid abandonConversation(Conversation conversation, ConversationAbandonedEvent details)
conversation
- The conversation to abandondetails
- Details about why the conversation was abandonedvoid sendRawMessage(java.lang.String message)
message
- Message to be displayed