Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

LowLagMediaRecording.PauseWithResultAsync(MediaCapturePauseBehavior) 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.

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:
 virtual IAsyncOperation<MediaCapturePauseResult ^> ^ PauseWithResultAsync(MediaCapturePauseBehavior behavior) = PauseWithResultAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MediaCapturePauseResult> PauseWithResultAsync(MediaCapturePauseBehavior const& behavior);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MediaCapturePauseResult> PauseWithResultAsync(MediaCapturePauseBehavior behavior);
function pauseWithResultAsync(behavior)
Public Function PauseWithResultAsync (behavior As MediaCapturePauseBehavior) As IAsyncOperation(Of MediaCapturePauseResult)

Parameters

behavior
MediaCapturePauseBehavior

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

Returns

An asynchronous action that returns a MediaCapturePauseResult upon completion.

Attributes

Windows requirements

Requirements Description
Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to


Feedback

Was this page helpful?