MediaCapture.PauseRecordAsync(MediaCapturePauseBehavior) MediaCapture.PauseRecordAsync(MediaCapturePauseBehavior) MediaCapture.PauseRecordAsync(MediaCapturePauseBehavior) MediaCapture.PauseRecordAsync(MediaCapturePauseBehavior) MediaCapture.PauseRecordAsync(MediaCapturePauseBehavior) Method

Definition

Pauses an ongoing record operation.

public : IAsyncAction PauseRecordAsync(MediaCapturePauseBehavior behavior)
IAsyncAction PauseRecordAsync(MediaCapturePauseBehavior behavior) const;
public IAsyncAction PauseRecordAsync(MediaCapturePauseBehavior behavior)
Public Function PauseRecordAsync(behavior As MediaCapturePauseBehavior) As IAsyncAction
Windows.Media.Capture.MediaCapture.pauseRecordAsync(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

An asynchronous action.

Additional features and requirements

Capabilities
backgroundMediaRecording

Remarks

Resume recording by calling ResumeRecordAsync.

See also