Udostępnij za pośrednictwem


CallingServerModelFactory.CallConnectionStateChangedEvent Method

Definition

Initializes a new instance of CallConnectionStateChangedEvent.

public static Azure.Communication.CallingServer.CallConnectionStateChangedEvent CallConnectionStateChangedEvent (string serverCallId = default, string callConnectionId = default, Azure.Communication.CallingServer.CallConnectionState callConnectionState = default);
static member CallConnectionStateChangedEvent : string * string * Azure.Communication.CallingServer.CallConnectionState -> Azure.Communication.CallingServer.CallConnectionStateChangedEvent
Public Shared Function CallConnectionStateChangedEvent (Optional serverCallId As String = Nothing, Optional callConnectionId As String = Nothing, Optional callConnectionState As CallConnectionState = Nothing) As CallConnectionStateChangedEvent

Parameters

serverCallId
String

The server call.id.

callConnectionId
String

The call connection id.

callConnectionState
CallConnectionState

The call connection state.

Returns

A new CallConnectionStateChangedEvent instance for mocking.

Applies to