LowLagMediaRecording.PauseWithResultAsync(MediaCapturePauseBehavior) LowLagMediaRecording.PauseWithResultAsync(MediaCapturePauseBehavior) LowLagMediaRecording.PauseWithResultAsync(MediaCapturePauseBehavior) LowLagMediaRecording.PauseWithResultAsync(MediaCapturePauseBehavior) LowLagMediaRecording.PauseWithResultAsync(MediaCapturePauseBehavior) Method

Definition

Pauses an ongoing low lag media record operation and provides a MediaCapturePauseResult that can be used to help the user align the camera with the last captured frame when resuming recording.

public : IAsyncOperation<MediaCapturePauseResult> PauseWithResultAsync(MediaCapturePauseBehavior behavior)
IAsyncOperation<MediaCapturePauseResult> PauseWithResultAsync(MediaCapturePauseBehavior behavior) const;
public IAsyncOperation<MediaCapturePauseResult> PauseWithResultAsync(MediaCapturePauseBehavior behavior)
Public Function PauseWithResultAsync(behavior As MediaCapturePauseBehavior) As IAsyncOperation(Of MediaCapturePauseResult)
Windows.Media.Capture.LowLagMediaRecording.pauseWithResultAsync(behavior).done( /* Your success and error handlers */ );

Parameters

behavior
MediaCapturePauseBehavior MediaCapturePauseBehavior MediaCapturePauseBehavior

A value indicating whether the media capture hardware resources should be preserved or released while recording is paused.

Returns

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)