AppRecordingManager Class

Definition

Enables a UWP app to save recordings and screenshots of its content.

public ref class AppRecordingManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.AppRecording.AppRecordingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Static(Windows.Media.AppRecording.IAppRecordingManagerStatics, 65536, "Windows.Media.AppRecording.AppRecordingContract")]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppRecordingManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.AppRecording.AppRecordingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Static(Windows.Media.AppRecording.IAppRecordingManagerStatics, 65536, "Windows.Media.AppRecording.AppRecordingContract")]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772164)]
class AppRecordingManager sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.AppRecording.AppRecordingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Media.AppRecording.IAppRecordingManagerStatics), 65536, "Windows.Media.AppRecording.AppRecordingContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppRecordingManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.AppRecording.AppRecordingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Media.AppRecording.IAppRecordingManagerStatics), 65536, "Windows.Media.AppRecording.AppRecordingContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772164)]
public sealed class AppRecordingManager
Public NotInheritable Class AppRecordingManager
Inheritance
AppRecordingManager
Attributes

Windows 10 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 GetDefault.

Properties

SupportedScreenshotMediaEncodingSubtypes

Gets a list of strings representing the media encoding subtypes supported for the SaveScreenshotToFilesAsync method.

Methods

GetDefault()

Gets an instance of the AppRecordingManager class.

GetStatus()

Gets an object that provides information about whether the current app is currently able to initiate an app recording, and if not, provides details about the reasons that app recording is unavailable.

RecordTimeSpanToFileAsync(DateTimeOffset, TimeSpan, StorageFile)

Writes audio and video content of the current app from the historical buffer, with a time range defined by the specified start time and duration, to the specified destination file.

SaveScreenshotToFilesAsync(StorageFolder, String, AppRecordingSaveScreenshotOption, IEnumerable<String>)

Asynchronously saves an image file containing the current contents of the calling app.

StartRecordingToFileAsync(StorageFile)

Writes audio and video content of the current app to the specified destination file, beginning at the current time and ending when the operation is cancelled or storage space has been exceeded.

Applies to