Interface ICallServiceHandler
The interface that handles the functions for call service.
Namespace: Microsoft.Bot.Builder.Enterprise.Core
Assembly: Microsoft.Bot.Builder.Enterprise.dll
Syntax
public interface ICallServiceHandler
Methods
View SourceCallCleanupAsync(ICall)
The function that is called whenever a call is to be cleaned up on this instance.
Declaration
Task CallCleanupAsync(ICall call)
Parameters
Type | Name | Description |
---|---|---|
ICall | call | The call for which this call is being cleaned up |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The System.Threading.Tasks.Task. |
CallInitializedAsync(ICall, CallFlowDirection)
The function that is called whenever a new call is created on this instance. This function is used to setup the media and signaling handlers required for calls.
Declaration
Task<CallDescription> CallInitializedAsync(ICall call, CallFlowDirection direction)
Parameters
Type | Name | Description |
---|---|---|
ICall | call | The call which we are initializing. |
CallFlowDirection | direction | The direction of the call. Describes if the call is inbound or outbound. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CallDescription> | The CallDescription object that describes the signal and media handlers for this call. |