MediaCapturePauseResult MediaCapturePauseResult MediaCapturePauseResult MediaCapturePauseResult MediaCapturePauseResult Class

Definition

Provides the last frame captured and the recorded duration of a media capture operation that has been paused.

public : sealed class MediaCapturePauseResult : IClosable, IMediaCapturePauseResult
struct winrt::Windows::Media::Capture::MediaCapturePauseResult : IClosable, IMediaCapturePauseResult
public sealed class MediaCapturePauseResult : IDisposable, IMediaCapturePauseResult
Public NotInheritable Class MediaCapturePauseResult Implements IDisposable, IMediaCapturePauseResult
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

Remarks

Get an instance of this class by calling PauseRecordWithResultAsync.

For how-to guidance for pausing and resuming while recording video, see Basic photo, video, and audio capture with MediaCapture.

Properties

LastFrame LastFrame LastFrame LastFrame LastFrame

Gets a VideoFrame representing the last frame captured before the capture operation was paused.

RecordDuration RecordDuration RecordDuration RecordDuration RecordDuration

Gets the duration of the media captured before the capture operation was paused.

Methods

Close() Close() Close() Close() Close()

Closes the object and disposes of associated resources.

Dispose() Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

See Also