Interface that represents a completion handler that is used to get results of methods such as IConversation.update(IMessengerCompletionHandler), IMessenger.getUser(long, IMessengerCompletionHandler), etc.
An executor on which all events will be received is specified via Voximplant.getClientInstance(Executor, Context, ClientConfig).
void onError(IErrorEvent errorEvent)
Invoked when an error occurred as the method call result with the specified completion handler.
Event object with error details and service information
void onSuccess(T resultEvent)
Invoked when a method call with the specified completion handler is successfully completed.
Event object with result data and service information