Interface CallStateChangedEvent

All Superinterfaces:
ActiveCallEvent, ActiveCallProvider, Event
All Known Subinterfaces:
CallDeliveredEvent, CallEstablishedEvent, CallFinishedEvent, CallRedirectedEvent, CallTransferredEvent, IncomingCallDeliveredEvent, IncomingCallEstablishedEvent, IncomingCallFinishedEvent, IncomingCallRedirectedEvent, IncomingCallStateChangedEvent, IncomingCallTransferredEvent, OutgoingCallDeliveredEvent, OutgoingCallEstablishedEvent, OutgoingCallFinishedEvent, OutgoingCallRedirectedEvent, OutgoingCallStateChangedEvent, OutgoingCallTransferredEvent, QueuedCallDeliveredEvent, QueuedCallDeliveryFailedEvent, QueuedCallDequeuedEvent, QueuedCallDisconnectedEvent, QueuedCallEnqueuedEvent, QueuedCallEstablishedEvent, QueuedCallFinishedEvent, QueuedCallReceivedEvent, QueuedCallRedirectedEvent, QueuedCallRedirectFailedEvent, QueuedCallStateChangedEvent, QueuedCallTransferredEvent

public interface CallStateChangedEvent extends ActiveCallEvent
This event is triggered when the CallState of a call has changed.
Since:
11.27
  • Method Details

    • getCallState

      CallState getCallState()
      Returns:
      the new CallState of the call
      Since:
      11.27
    • getCall

      default Optional<Call> getCall()
      Returns the optional Call object associated with this event. If there is no Call associated with the event, an empty optional is returned.
      Returns:
      the optional Call object, if the event is associated with a Call, otherwise an empty optional
      Since:
      11.27
    • getAttributes

      default Map<String,String> getAttributes()
      Returns:
      any attributes for the event
      Since:
      12.41