Interface ConversationCompletionHandler
-
public interface ConversationCompletionHandlerCompletion handler for asynchronous conversation operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(MessagingException error)Reports that the operation has failed.voidonSuccess(Conversation conversation)Reports that the operation was successfully completed.
-
-
-
Method Detail
-
onSuccess
void onSuccess(Conversation conversation)
Reports that the operation was successfully completed.- Parameters:
conversation- The target conversation.
-
onError
void onError(MessagingException error)
Reports that the operation has failed.- Parameters:
error- Information about failure details.
-
-