AppCapture AppCapture AppCapture AppCapture AppCapture Class

Definition

Provides information about the app capture feature.

public : sealed class AppCapture
struct winrt::Windows::Media::Capture::AppCapture
public sealed class AppCapture
Public NotInheritable Class AppCapture
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)

Remarks

Version history

Windows version SDK version Value added
1709 16299 SetAllowedAsync

Properties

IsCapturingAudio IsCapturingAudio IsCapturingAudio IsCapturingAudio IsCapturingAudio

Gets a value indicating whether another app is currently capturing audio.

IsCapturingVideo IsCapturingVideo IsCapturingVideo IsCapturingVideo IsCapturingVideo

Gets a value indicating whether another app is currently capturing video.

Methods

GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView()

Gets the instance of this class for the current view.

SetAllowedAsync(Boolean) SetAllowedAsync(Boolean) SetAllowedAsync(Boolean) SetAllowedAsync(Boolean) SetAllowedAsync(Boolean)

Sets a value that specifies whether the app capture is currently allowed for the calling app.

Events

CapturingChanged CapturingChanged CapturingChanged CapturingChanged CapturingChanged

Raised when the capturing status changes.