HolographicCameraRenderingParameters.IsContentProtectionEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.