Interface OutgoingCallFinishedEvent
-
- All Superinterfaces:
ActiveCallEvent
,ActiveCallProvider
,AgentDeviceEvent
,CallFinishedEvent
,CallStateChangedEvent
,ConnectedAgentDeviceProvider
,Event
,OutgoingCallProvider
,OutgoingCallStateChangedEvent
public interface OutgoingCallFinishedEvent extends OutgoingCallStateChangedEvent, AgentDeviceEvent, CallFinishedEvent
AnOutgoingCallFinishedEvent
indicates that anOutgoingCall
has been finished.- Since:
- 11.27
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.novomind.ecom.api.iagent.routing.event.call.CallFinishedEvent
CallFinishedEvent.FinishCause, CallFinishedEvent.FinishOrigin
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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.routing.event.call.CallFinishedEvent
getCallState, getFinishCause, getFinishOrigin
-
Methods inherited from interface com.novomind.ecom.api.iagent.routing.event.call.CallStateChangedEvent
getCall
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.ConnectedAgentDeviceProvider
getConnectedAgentDevice
-
Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.OutgoingCallProvider
getActiveCall, getOutgoingCall
-
-
-
-
Method Detail
-
getLastConnectedAgentDevice
default java.util.Optional<ConnectedAgentDevice> getLastConnectedAgentDevice()
Description copied from interface:CallFinishedEvent
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.- Specified by:
getLastConnectedAgentDevice
in interfaceCallFinishedEvent
- Returns:
- the last known instance of
ConnectedAgentDevice
for this queued call.
-
-