Partager via


CallAutomationModelFactory.RecordingStateChanged Method

Definition

Initializes a new instance of RecordingStateChanged.

public static Azure.Communication.CallAutomation.RecordingStateChanged RecordingStateChanged (string callConnectionId = default, string serverCallId = default, string correlationId = default, string recordingId = default, Azure.Communication.CallAutomation.RecordingState state = default, DateTimeOffset? startDateTime = default, Azure.Communication.CallAutomation.RecordingKind? recordingKind = default);
static member RecordingStateChanged : string * string * string * string * Azure.Communication.CallAutomation.RecordingState * Nullable<DateTimeOffset> * Nullable<Azure.Communication.CallAutomation.RecordingKind> -> Azure.Communication.CallAutomation.RecordingStateChanged
Public Shared Function RecordingStateChanged (Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional correlationId As String = Nothing, Optional recordingId As String = Nothing, Optional state As RecordingState = Nothing, Optional startDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional recordingKind As Nullable(Of RecordingKind) = Nothing) As RecordingStateChanged

Parameters

callConnectionId
String

Call connection ID.

serverCallId
String

Server call ID.

correlationId
String

Correlation ID for event to call correlation.

recordingId
String

The call recording id.

startDateTime
Nullable<DateTimeOffset>

The time of the recording started.

recordingKind
Nullable<RecordingKind>

Returns

A new RecordingStateChanged instance for mocking.

Applies to