Jaa


MediaCaptureStopResult Class

Definition

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

public ref class MediaCaptureStopResult sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(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)]
class MediaCaptureStopResult final : IClosable
[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
Public NotInheritable Class MediaCaptureStopResult
Implements IDisposable
Inheritance
Object Platform::Object IInspectable 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

See also