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 enumRepresents all types of finish causes for calls.static enumRepresents the origin that finished the call. -
Method Summary
Modifier and TypeMethodDescriptiondefault CallStateReturns the newCallStateof the call.Returns the cause for the end of the call.default CallFinishedEvent.FinishOriginReturns theCallFinishedEvent.FinishOrigin.Returns an Optional containing the instance of theConnectedAgentDevicethat has been connected to this call before it has been finished.Methods inherited from interface com.novomind.ecom.api.iagent.provider.ActiveCallProvider
getActiveCallMethods inherited from interface com.novomind.ecom.api.iagent.routing.event.call.CallStateChangedEvent
getAttributes, getCallMethods 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.- Returns:
- the cause for the end of the call
- Since:
- 11.27
-
getLastConnectedAgentDevice
Optional<ConnectedAgentDevice> getLastConnectedAgentDevice()Returns an Optional containing the instance of theConnectedAgentDevicethat 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:
- an Optional containing the last known
ConnectedAgentDeviceconnected to this call, or an empty Optional if the call was never connected to any agent device - Since:
- 11.27
-
getCallState
Description copied from interface:CallStateChangedEventReturns the newCallStateof the call.- Specified by:
getCallStatein interfaceCallStateChangedEvent- Returns:
- the
CallState - Since:
- 11.27
-
getFinishOrigin
Returns theCallFinishedEvent.FinishOrigin.- Returns:
- the
CallFinishedEvent.FinishOrigin - Since:
- 12.27
-