@@ -47,18 +47,18 @@ protected CallRecording()
47
47
/// </summary>
48
48
/// <param name="options">Options for start recording</param>
49
49
/// <param name="cancellationToken">The cancellation token.</param>
50
- public virtual Response < RecordingStateResult > StartRecording ( StartRecordingOptions options , CancellationToken cancellationToken = default )
50
+ public virtual Response < RecordingStateResult > Start ( StartRecordingOptions options , CancellationToken cancellationToken = default )
51
51
{
52
52
if ( options == null )
53
53
throw new ArgumentNullException ( nameof ( options ) ) ;
54
54
55
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( StartRecording ) } ") ;
55
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Start ) } ") ;
56
56
scope . Start ( ) ;
57
57
try
58
58
{
59
59
StartCallRecordingRequestInternal request = new ( CallLocatorSerializer . Serialize ( options . CallLocator ) )
60
60
{
61
- RecordingStateCallbackUri = options . RecordingStateCallbackEndpoint ? . AbsoluteUri ,
61
+ RecordingStateCallbackUri = options . RecordingStateCallbackUri ? . AbsoluteUri ,
62
62
RecordingChannelType = options . RecordingChannel ,
63
63
RecordingContentType = options . RecordingContent ,
64
64
RecordingFormatType = options . RecordingFormat ,
@@ -95,18 +95,18 @@ public virtual Response<RecordingStateResult> StartRecording(StartRecordingOptio
95
95
/// </summary>
96
96
/// <param name="options">Options for start recording</param>
97
97
/// <param name="cancellationToken">The cancellation token.</param>
98
- public virtual async Task < Response < RecordingStateResult > > StartRecordingAsync ( StartRecordingOptions options , CancellationToken cancellationToken = default )
98
+ public virtual async Task < Response < RecordingStateResult > > StartAsync ( StartRecordingOptions options , CancellationToken cancellationToken = default )
99
99
{
100
100
if ( options == null )
101
101
throw new ArgumentNullException ( nameof ( options ) ) ;
102
102
103
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( StartRecording ) } ") ;
103
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Start ) } ") ;
104
104
scope . Start ( ) ;
105
105
try
106
106
{
107
107
StartCallRecordingRequestInternal request = new ( CallLocatorSerializer . Serialize ( options . CallLocator ) )
108
108
{
109
- RecordingStateCallbackUri = options . RecordingStateCallbackEndpoint ? . AbsoluteUri ,
109
+ RecordingStateCallbackUri = options . RecordingStateCallbackUri ? . AbsoluteUri ,
110
110
RecordingChannelType = options . RecordingChannel ,
111
111
RecordingContentType = options . RecordingContent ,
112
112
RecordingFormatType = options . RecordingFormat ,
@@ -156,9 +156,9 @@ public virtual async Task<Response<RecordingStateResult>> StartRecordingAsync(St
156
156
/// </summary>
157
157
/// <param name="recordingId">The recording id to get the state of.</param>
158
158
/// <param name="cancellationToken">The cancellation token.</param>
159
- public virtual Response < RecordingStateResult > GetRecordingState ( string recordingId , CancellationToken cancellationToken = default )
159
+ public virtual Response < RecordingStateResult > GetState ( string recordingId , CancellationToken cancellationToken = default )
160
160
{
161
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( GetRecordingState ) } ") ;
161
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( GetState ) } ") ;
162
162
scope . Start ( ) ;
163
163
try
164
164
{
@@ -179,9 +179,9 @@ public virtual Response<RecordingStateResult> GetRecordingState(string recording
179
179
/// </summary>
180
180
/// <param name="recordingId">The recording id to get the state of.</param>
181
181
/// <param name="cancellationToken">The cancellation token.</param>
182
- public virtual async Task < Response < RecordingStateResult > > GetRecordingStateAsync ( string recordingId , CancellationToken cancellationToken = default )
182
+ public virtual async Task < Response < RecordingStateResult > > GetStateAsync ( string recordingId , CancellationToken cancellationToken = default )
183
183
{
184
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( GetRecordingState ) } ") ;
184
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( GetState ) } ") ;
185
185
scope . Start ( ) ;
186
186
try
187
187
{
@@ -202,9 +202,9 @@ public virtual async Task<Response<RecordingStateResult>> GetRecordingStateAsync
202
202
/// </summary>
203
203
/// <param name="recordingId">The recording id to stop.</param>
204
204
/// <param name="cancellationToken">The cancellation token.</param>
205
- public virtual Response StopRecording ( string recordingId , CancellationToken cancellationToken = default )
205
+ public virtual Response Stop ( string recordingId , CancellationToken cancellationToken = default )
206
206
{
207
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( StopRecording ) } ") ;
207
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Stop ) } ") ;
208
208
scope . Start ( ) ;
209
209
try
210
210
{
@@ -225,9 +225,9 @@ public virtual Response StopRecording(string recordingId, CancellationToken canc
225
225
/// </summary>
226
226
/// <param name="recordingId">The recording id to stop.</param>
227
227
/// <param name="cancellationToken">The cancellation token.</param>
228
- public virtual async Task < Response > StopRecordingAsync ( string recordingId , CancellationToken cancellationToken = default )
228
+ public virtual async Task < Response > StopAsync ( string recordingId , CancellationToken cancellationToken = default )
229
229
{
230
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( StopRecording ) } ") ;
230
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Stop ) } ") ;
231
231
scope . Start ( ) ;
232
232
try
233
233
{
@@ -248,9 +248,9 @@ public virtual async Task<Response> StopRecordingAsync(string recordingId, Cance
248
248
/// </summary>
249
249
/// <param name="recordingId">The recording id to pause.</param>
250
250
/// <param name="cancellationToken">The cancellation token.</param>
251
- public virtual async Task < Response > PauseRecordingAsync ( string recordingId , CancellationToken cancellationToken = default )
251
+ public virtual async Task < Response > PauseAsync ( string recordingId , CancellationToken cancellationToken = default )
252
252
{
253
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( PauseRecording ) } ") ;
253
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Pause ) } ") ;
254
254
scope . Start ( ) ;
255
255
try
256
256
{
@@ -271,9 +271,9 @@ public virtual async Task<Response> PauseRecordingAsync(string recordingId, Canc
271
271
/// </summary>
272
272
/// <param name="recordingId">The recording id to pause.</param>
273
273
/// <param name="cancellationToken">The cancellation token.</param>
274
- public virtual Response PauseRecording ( string recordingId , CancellationToken cancellationToken = default )
274
+ public virtual Response Pause ( string recordingId , CancellationToken cancellationToken = default )
275
275
{
276
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( PauseRecording ) } ") ;
276
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Pause ) } ") ;
277
277
scope . Start ( ) ;
278
278
try
279
279
{
@@ -294,9 +294,9 @@ public virtual Response PauseRecording(string recordingId, CancellationToken can
294
294
/// </summary>
295
295
/// <param name="recordingId">The recording id to pause.</param>
296
296
/// <param name="cancellationToken">The cancellation token.</param>
297
- public virtual async Task < Response > ResumeRecordingAsync ( string recordingId , CancellationToken cancellationToken = default )
297
+ public virtual async Task < Response > ResumeAsync ( string recordingId , CancellationToken cancellationToken = default )
298
298
{
299
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( ResumeRecording ) } ") ;
299
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Resume ) } ") ;
300
300
scope . Start ( ) ;
301
301
try
302
302
{
@@ -317,9 +317,9 @@ public virtual async Task<Response> ResumeRecordingAsync(string recordingId, Can
317
317
/// </summary>
318
318
/// <param name="recordingId">The recording id to resume.</param>
319
319
/// <param name="cancellationToken">The cancellation token.</param>
320
- public virtual Response ResumeRecording ( string recordingId , CancellationToken cancellationToken = default )
320
+ public virtual Response Resume ( string recordingId , CancellationToken cancellationToken = default )
321
321
{
322
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( ResumeRecording ) } ") ;
322
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Resume ) } ") ;
323
323
scope . Start ( ) ;
324
324
try
325
325
{
@@ -533,7 +533,7 @@ public virtual async Task<Response> DownloadToAsync(Uri sourceLocation, string d
533
533
}
534
534
535
535
/// <summary>
536
- /// The <see cref="DeleteRecording (Uri, CancellationToken)"/>
536
+ /// The <see cref="Delete (Uri, CancellationToken)"/>
537
537
/// operation deletes the specified content from storage.
538
538
/// </summary>
539
539
/// <param name="recordingLocation">
@@ -550,9 +550,9 @@ public virtual async Task<Response> DownloadToAsync(Uri sourceLocation, string d
550
550
/// A <see cref="RequestFailedException"/> will be thrown if
551
551
/// a failure occurs.
552
552
/// </remarks>
553
- public virtual Response DeleteRecording ( Uri recordingLocation , CancellationToken cancellationToken = default )
553
+ public virtual Response Delete ( Uri recordingLocation , CancellationToken cancellationToken = default )
554
554
{
555
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( DeleteRecording ) } ") ;
555
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Delete ) } ") ;
556
556
scope . Start ( ) ;
557
557
try
558
558
{
@@ -575,7 +575,7 @@ public virtual Response DeleteRecording(Uri recordingLocation, CancellationToken
575
575
}
576
576
577
577
/// <summary>
578
- /// The <see cref="DeleteRecordingAsync (Uri, CancellationToken)"/>
578
+ /// The <see cref="DeleteAsync (Uri, CancellationToken)"/>
579
579
/// operation deletes the specified content from storage
580
580
/// using parallel requests.
581
581
/// </summary>
@@ -593,9 +593,9 @@ public virtual Response DeleteRecording(Uri recordingLocation, CancellationToken
593
593
/// A <see cref="RequestFailedException"/> will be thrown if
594
594
/// a failure occurs.
595
595
/// </remarks>
596
- public virtual async Task < Response > DeleteRecordingAsync ( Uri recordingLocation , CancellationToken cancellationToken = default )
596
+ public virtual async Task < Response > DeleteAsync ( Uri recordingLocation , CancellationToken cancellationToken = default )
597
597
{
598
- using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( DeleteRecording ) } ") ;
598
+ using DiagnosticScope scope = _clientDiagnostics . CreateScope ( $ "{ nameof ( CallRecording ) } .{ nameof ( Delete ) } ") ;
599
599
scope . Start ( ) ;
600
600
try
601
601
{
0 commit comments