Sdílet prostřednictvím


ServerCall.GetRecordingState(String, CancellationToken) Method

Definition

Get the current recording state by recording id.

public virtual Azure.Response<Azure.Communication.CallingServer.CallRecordingProperties> GetRecordingState (string recordingId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecordingState : string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallingServer.CallRecordingProperties>
override this.GetRecordingState : string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallingServer.CallRecordingProperties>
Public Overridable Function GetRecordingState (recordingId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CallRecordingProperties)

Parameters

recordingId
String

The recording id to get the state of.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to