Delen via


AppCapture Class

Definition

Provides information about the app capture feature.

public ref class AppCapture sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
class AppCapture final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public sealed class AppCapture
Public NotInheritable Class AppCapture
Inheritance
Object Platform::Object IInspectable AppCapture
Attributes

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

Applies to