MediaCaptureStopResult MediaCaptureStopResult MediaCaptureStopResult MediaCaptureStopResult MediaCaptureStopResult Class

Definition

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

public : sealed class MediaCaptureStopResult : IClosable, IMediaCaptureStopResult
struct winrt::Windows::Media::Capture::MediaCaptureStopResult : IClosable, IMediaCaptureStopResult
public sealed class MediaCaptureStopResult : IDisposable, IMediaCaptureStopResult
Public NotInheritable Class MediaCaptureStopResult Implements IDisposable, IMediaCaptureStopResult
// 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 StopRecordWithResultAsync.

For how-to guidance for handling the result of a paused or stopped video recording, 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 stopped.

RecordDuration RecordDuration RecordDuration RecordDuration RecordDuration

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

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