Interface CallFinishedEvent
- All Superinterfaces:
ActiveCallEvent
,ActiveCallProvider
,CallStateChangedEvent
,Event
- All Known Subinterfaces:
IncomingCallFinishedEvent
,OutgoingCallFinishedEvent
,QueuedCallFinishedEvent
A
CallFinishedEvent
is triggered, when a call
has been disconnected and finished.- Since:
- 11.27
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Represents all types of finish causes for calls.static enum
Represents the origin that finished the call. -
Method Summary
Modifier and TypeMethodDescriptiondefault CallState
default CallFinishedEvent.FinishOrigin
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
getAttributes, getCall
Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
-
Method Details
-
getFinishCause
CallFinishedEvent.FinishCause getFinishCause()- Returns:
- the cause for the end of the call
- Since:
- 11.27
-
getLastConnectedAgentDevice
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
- Specified by:
getCallState
in interfaceCallStateChangedEvent
- Returns:
- the
CallState
- Since:
- 11.27
-
getFinishOrigin
- Returns:
- the
CallFinishedEvent.FinishOrigin
- Since:
- 12.27
-