Interface CallFinishedEvent
-
- All Superinterfaces:
ActiveCallEvent
,ActiveCallProvider
,CallStateChangedEvent
,Event
- All Known Subinterfaces:
IncomingCallFinishedEvent
,OutgoingCallFinishedEvent
,QueuedCallFinishedEvent
public interface CallFinishedEvent extends CallStateChangedEvent
ACallFinishedEvent
is triggered, when a call has been disconnected and finished.- Since:
- 11.27
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CallFinishedEvent.FinishCause
Represents all types of finish causes for calls.static class
CallFinishedEvent.FinishOrigin
Represents the origin that finished the call.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CallState
getCallState()
CallFinishedEvent.FinishCause
getFinishCause()
default CallFinishedEvent.FinishOrigin
getFinishOrigin()
java.util.Optional<ConnectedAgentDevice>
getLastConnectedAgentDevice()
The methods returns the instance of theConnectedAgentDevice
that has been connected to this call before it has been finished.-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.ActiveCallProvider
getActiveCall
-
Methods inherited from interface com.novomind.ecom.api.iagent.routing.event.call.CallStateChangedEvent
getCall
-
Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
-
-
-
-
Method Detail
-
getFinishCause
CallFinishedEvent.FinishCause getFinishCause()
- Returns:
- the cause for the end of the call
- Since:
- 11.27
-
getLastConnectedAgentDevice
java.util.Optional<ConnectedAgentDevice> getLastConnectedAgentDevice()
The methods returns the instance of theConnectedAgentDevice
that has been connected to this call before it has been finished. If the call never was connected to any agent device, the returned Optional is empty.- Returns:
- the last known instance of
ConnectedAgentDevice
for this queued call. - Since:
- 11.27
-
getCallState
default CallState getCallState()
- Specified by:
getCallState
in interfaceCallStateChangedEvent
- Returns:
- the
CallState
- Since:
- 11.27
-
getFinishOrigin
default CallFinishedEvent.FinishOrigin getFinishOrigin()
- Returns:
- the
CallFinishedEvent.FinishOrigin
- Since:
- 12.27
-
-