AppRecordingStatus Class

Definition

Provides information about whether the current app is currently able to initiate an app recording by calling StartRecordingToFileAsync or RecordTimespanToFileAsync, and if not, provides details about the reasons that app recording is unavailable.

public ref class AppRecordingStatus sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.AppRecording.AppRecordingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppRecordingStatus final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.AppRecording.AppRecordingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppRecordingStatus
Public NotInheritable Class AppRecordingStatus
Inheritance
Object Platform::Object IInspectable AppRecordingStatus
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Media.AppRecording.AppRecordingContract (introduced in v1.0)

Remarks

Get an instance of this class by calling AppRecordingManager.GetStatus.

Properties

CanRecord

Gets a value that indicates whether the current app can currently record the audio and video content of the app by calling StartRecordingToFileAsymc.

CanRecordTimeSpan

Gets a value that indicates whether the current app can currently record a timespan of the audio and video content of the app by calling RecordTimespanToFileAsync.

Details

Gets an AppRecordingStatusDetails object that provides detailed information indicating why the current app can't currently begin recording.

HistoricalBufferDuration

Gets a value that indicates the duration of the historical app recording buffer.

Applies to