MediaCaptureStopResult MediaCaptureStopResult MediaCaptureStopResult MediaCaptureStopResult MediaCaptureStopResult Class


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

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

Windows 10 requirements

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


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.


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.


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