MediaCaptureStopResult Class

Definition

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

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class MediaCaptureStopResult : System.IDisposable
Inheritance
Object MediaCaptureStopResult
Attributes
Implements

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App 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

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

RecordDuration

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

Methods

Close()

Closes the object and disposes of associated resources.

Dispose()

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

Applies to

Product Versions
WinRT Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also