ServerCall.StartRecordingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Start recording of the call.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>> StartRecordingAsync (Uri recordingStateCallbackUri, Azure.Communication.CallingServer.RecordingContent? content = default, Azure.Communication.CallingServer.RecordingChannel? channel = default, Azure.Communication.CallingServer.RecordingFormat? format = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecordingAsync : Uri * Nullable<Azure.Communication.CallingServer.RecordingContent> * Nullable<Azure.Communication.CallingServer.RecordingChannel> * Nullable<Azure.Communication.CallingServer.RecordingFormat> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>>
override this.StartRecordingAsync : Uri * Nullable<Azure.Communication.CallingServer.RecordingContent> * Nullable<Azure.Communication.CallingServer.RecordingChannel> * Nullable<Azure.Communication.CallingServer.RecordingFormat> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>>
Public Overridable Function StartRecordingAsync (recordingStateCallbackUri As Uri, Optional content As Nullable(Of RecordingContent) = Nothing, Optional channel As Nullable(Of RecordingChannel) = Nothing, Optional format As Nullable(Of RecordingFormat) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StartRecordingResult))
Parameters
- recordingStateCallbackUri
- Uri
The uri to send state change callbacks.
- content
- Nullable<RecordingContent>
content for recording.
- channel
- Nullable<RecordingChannel>
channel for recording.
- format
- Nullable<RecordingFormat>
format for recording.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET