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 CallStatedefault CallFinishedEvent.FinishOriginThe methods returns 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
- Since:
- 11.27
-
getLastConnectedAgentDevice
Optional<ConnectedAgentDevice> getLastConnectedAgentDevice()The methods returns 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:
- the last known instance of
ConnectedAgentDevicefor this queued call. - Since:
- 11.27
-
getCallState
- Specified by:
getCallStatein interfaceCallStateChangedEvent- Returns:
- the
CallState - Since:
- 11.27
-
getFinishOrigin
- Returns:
- the
CallFinishedEvent.FinishOrigin - Since:
- 12.27
-