File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public interface ICameraView : IView
7373 /// To customize the behavior of stopping the camera preview, consider overriding the behavior through
7474 /// <c>CameraViewHandler.CommandMapper.ReplaceMapping(nameof(ICameraView.StopCameraPreview), ADD YOUR METHOD);</c>.
7575 /// </remarks>
76- ValueTask StopCameraPreview ( CancellationToken token ) ;
76+ void StopCameraPreview ( ) ;
7777
7878 /// <summary>
7979 /// Retrieves the cameras available on the current device.
Original file line number Diff line number Diff line change @@ -215,11 +215,8 @@ public Task StartCameraPreview(CancellationToken token) =>
215215 Handler . CameraManager . StartCameraPreview ( token ) ;
216216
217217 /// <inheritdoc cref="ICameraView.StopCameraPreview"/>
218- public ValueTask StopCameraPreview ( CancellationToken token )
219- {
218+ public void StopCameraPreview ( ) =>
220219 Handler . CameraManager . StopCameraPreview ( ) ;
221- return Handler . CameraManager . UpdateCurrentCamera ( SelectedCamera , token ) ;
222- }
223220
224221 void ICameraView . OnMediaCaptured ( Stream imageData )
225222 {
You can’t perform that action at this time.
0 commit comments