Aracılığıyla paylaş


HolographicCameraRenderingParameters.IsContentProtectionEnabled Property

Definition

Gets or sets whether the application is displaying protected content.

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

Property Value

Boolean

bool

Whether content protection is enabled.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

While content protection is enabled, rendered content will be visible only in the headset, disabling the Mixed Reality Portal's preview.

If IsHardwareContentProtectionEnabled is set to true, IsContentProtectionEnabled will always return true.

Applies to