Share via


MediaCaptureStopResult.RecordDuration Property

Definition

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

public:
 property TimeSpan RecordDuration { TimeSpan get(); };
TimeSpan RecordDuration();
public System.TimeSpan RecordDuration { get; }
var timeSpan = mediaCaptureStopResult.recordDuration;
Public ReadOnly Property RecordDuration As TimeSpan

Property Value

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

Windows requirements

App capabilities
backgroundMediaRecording

Applies to