Dela via


MediaCapturePauseResult Class

Definition

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

public ref class MediaCapturePauseResult 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 MediaCapturePauseResult 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 MediaCapturePauseResult : System.IDisposable
Public NotInheritable Class MediaCapturePauseResult
Implements IDisposable
Inheritance
Object Platform::Object IInspectable MediaCapturePauseResult
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 PauseRecordWithResultAsync.

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

Properties

LastFrame

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

RecordDuration

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

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