HolographicCameraRenderingParameters.IsContentProtectionEnabled 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置应用程序是否显示受保护的内容。
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
属性值
Boolean
bool
是否启用内容保护。
Windows 要求
设备系列 |
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)
|
注解
启用内容保护后,呈现的内容仅在头戴显示设备中可见,禁用混合现实门户预览。
如果 IsHardwareContentProtectionEnabled 设置为 true, 则 IsContentProtectionEnabled 将始终返回 true。