Interface LeaveConversationResponse
-
public interface LeaveConversationResponseInterface for leave conversation response.This class is used to return the results of a conversation leave operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConversationgetConversation()ReturnsConversationobject associated with leave operation.MessagingErrorgetError()If LeftStatus is false, this returns error information.booleangetLeftStatus()Returns the left status of the conversation.
-
-
-
Method Detail
-
getLeftStatus
boolean getLeftStatus()
Returns the left status of the conversation.- Returns:
- the left status of the conversation. When false, an error occurred and the error can
been obtained by calling the
getError()error information.
-
getError
MessagingError getError()
If LeftStatus is false, this returns error information.- Returns:
- error information. Exists only if left status is false.
-
getConversation
Conversation getConversation()
ReturnsConversationobject associated with leave operation.- Returns:
Conversationobject associated with leave operation.
-
-