AppCapture Class
Definition
Provides information about the app capture feature.
public ref class AppCapture sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772161)]
/// [Windows.Foundation.Metadata.Static(Windows.Media.Capture.IAppCaptureStatics, 131072, "Windows.Foundation.UniversalApiContract")]
class AppCapture sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.Static(Windows.Media.Capture.IAppCaptureStatics, 131072, "Windows.Foundation.UniversalApiContract")]
class AppCapture sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.Static(Windows.Media.Capture.IAppCaptureStatics, 131072, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Static(Windows.Media.Capture.IAppCaptureStatics2, 327680, "Windows.Foundation.UniversalApiContract")]
class AppCapture sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772161)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Media.Capture.IAppCaptureStatics), 131072, "Windows.Foundation.UniversalApiContract")]
public sealed class AppCapture
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Media.Capture.IAppCaptureStatics), 131072, "Windows.Foundation.UniversalApiContract")]
public sealed class AppCapture
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Media.Capture.IAppCaptureStatics), 131072, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Static(typeof(Windows.Media.Capture.IAppCaptureStatics2), 327680, "Windows.Foundation.UniversalApiContract")]
public sealed class AppCapture
Public NotInheritable Class AppCapture
- Inheritance
-
AppCapture
- Attributes
Windows 10 requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1709 | 16299 | SetAllowedAsync |
Properties
IsCapturingAudio |
Gets a value indicating whether another app is currently capturing audio. |
IsCapturingVideo |
Gets a value indicating whether another app is currently capturing video. |
Methods
GetForCurrentView() |
Gets the instance of this class for the current view. |
SetAllowedAsync(Boolean) |
Sets a value that specifies whether the app capture is currently allowed for the calling app. |
Events
CapturingChanged |
Raised when the capturing status changes. |