Sdílet prostřednictvím


ServerCall.GetRecordingStateAsync(String, CancellationToken) Method

Definition

Get the current recording state by recording id.

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

Parameters

recordingId
String

The recording id to get the state of.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to