CallAutomationModelFactory.MediaStreamingStopped Method

Definition

Initializes a new instance of MediaStreamingStopped.

public static Azure.Communication.CallAutomation.MediaStreamingStopped MediaStreamingStopped (string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, Azure.Communication.CallAutomation.ResultInformation resultInformation = default, Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = default);
static member MediaStreamingStopped : string * string * string * string * Azure.Communication.CallAutomation.ResultInformation * Azure.Communication.CallAutomation.MediaStreamingUpdate -> Azure.Communication.CallAutomation.MediaStreamingStopped
Public Shared Function MediaStreamingStopped (Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional correlationId As String = Nothing, Optional operationContext As String = Nothing, Optional resultInformation As ResultInformation = Nothing, Optional mediaStreamingUpdate As MediaStreamingUpdate = Nothing) As MediaStreamingStopped

Parameters

callConnectionId
String

Call connection ID.

serverCallId
String

Server call ID.

correlationId
String

Correlation ID for event to call correlation. Also called ChainId for skype chain ID.

operationContext
String

Used by customers when calling answerCall action to correlate the request to the response event.

resultInformation
ResultInformation

Contains the resulting SIP code/sub-code and message from NGC services.

mediaStreamingUpdate
MediaStreamingUpdate

Defines the result for MediaStreamingUpdate with the current status and the details about the status.

Returns

A new MediaStreamingStopped instance for mocking.

Applies to