public interface NexmoLegStatusEventListener
Interface definition for a callback to be invoked when a NexmoLegStatusEvent is received.
Listen for the NexmoConversation les status events:
conversation.addLegStatusEventListener(new NexmoLegStatusEventListener() {
@Override
public void onLegStatusEvent(NexmoLegStatusEvent nexmoLegStatusEvent) {
Log.d("onLegStatusEvent", nexmoLegStatusEvent.getCurrent().getStatus().toString());
}
});
| Modifier and Type | Method and Description |
|---|---|
void |
onLegStatusEvent(NexmoLegStatusEvent legStatusEvent)
Dispatches when a
NexmoLegStatusEvent occurs in a NexmoConversation. |
void onLegStatusEvent(NexmoLegStatusEvent legStatusEvent)
NexmoLegStatusEvent occurs in a NexmoConversation.legStatusEvent - the dispatched custom event