ScreenCapture Klasse

Definition

Ermöglicht einer App das Erfassen von Audio- und Videoinhalten, die auf dem Gerät angezeigt werden.

public ref class ScreenCapture sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScreenCapture final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScreenCapture
Public NotInheritable Class ScreenCapture
Vererbung
Object Platform::Object IInspectable ScreenCapture
Attribute

Windows-Anforderungen

Gerätefamilie
Windows Mobile Extension SDK (eingeführt in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (eingeführt in v1.0)

Hinweise

Wichtig

Die ScreenCapture-Funktion wird nur für mobile Geräte unterstützt, auf denen Windows Phone 8.1 ausgeführt wird. Diese API wird auf Windows 10 nicht unterstützt.

Eigenschaften

AudioSource

Ruft die Audioquelle ab, die für die Bildschirmaufnahme verwendet wird.

IsAudioSuspended

Ruft ab, ob die Bildschirmaufnahme von Audiodaten derzeit angehalten wird.

IsVideoSuspended

Ruft ab, ob die Bildschirmaufnahme des Videos derzeit angehalten ist.

VideoSource

Ruft die Videoquelle ab, die für die Bildschirmaufnahme verwendet wird.

Methoden

GetForCurrentView()

Ruft das ScreenCapture-Objekt ab, das der aktuellen Ansicht der App zugeordnet ist.

Ereignisse

SourceSuspensionChanged

Wird ausgelöst, wenn sich das Anhalten der Bildschirmaufnahme von Audio- oder Videoaufnahmen ändert.

Gilt für: