Udostępnij za pośrednictwem


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:
 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

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

Applies to