public interface NexmoConversationListener
Interface definition for a callback to be invoked when NexmoConversation
member is updated or
NexmoConversation
expires.
Add conversation listener:
conversation.addNexmoConversationListener(new NexmoConversationListener() { @Override public void conversationExpired() { Log.d("NexmoConversationListener", "Conversation expired"); } });
Modifier and Type | Method and Description |
---|---|
void |
conversationExpired()
Dispatches when a
NexmoConversation is unavailable. |
void |
legTransfer(NexmoLegTransferEvent event)
Dispatches when a
NexmoLegTransferEvent occurs to transfer a leg out of a NexmoConversation . |
void conversationExpired()
NexmoConversation
is unavailable.void legTransfer(NexmoLegTransferEvent event)
NexmoLegTransferEvent
occurs to transfer a leg out of a NexmoConversation
.