AppRecordingManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppRecordingManager 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 AppRecordingManager
Public NotInheritable Class AppRecordingManager
- Inheritance
- 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 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(DateTime, 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, IIterable<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. |