HolographicCameraRenderingParameters.IsContentProtectionEnabled Eigenschaft

Definition

Ruft ab oder legt fest, ob die Anwendung geschützte Inhalte anzeigt.

public:
 property bool IsContentProtectionEnabled { bool get(); void set(bool value); };
bool IsContentProtectionEnabled();

void IsContentProtectionEnabled(bool value);
public bool IsContentProtectionEnabled { get; set; }
var boolean = holographicCameraRenderingParameters.isContentProtectionEnabled;
holographicCameraRenderingParameters.isContentProtectionEnabled = boolean;
Public Property IsContentProtectionEnabled As Boolean

Eigenschaftswert

Boolean

bool

Gibt an, ob der Inhaltsschutz aktiviert ist.

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Hinweise

Während der Inhaltsschutz aktiviert ist, sind gerenderte Inhalte nur im Headset sichtbar, sodass die Vorschau des Mixed Reality Portals deaktiviert wird.

Wenn IsHardwareContentProtectionEnabled auf true festgelegt ist, gibt IsContentProtectionEnabled immer true zurück.

Gilt für: