HolographicCameraRenderingParameters.IsContentProtectionEnabled 屬性

定義

取得或設定應用程式是否顯示受保護的內容。

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 引進)

備註

啟用內容保護時,轉譯的內容只會顯示在頭戴式裝置中,停用Mixed Reality入口網站的預覽。

如果 IsHardwareContentProtectionEnabled 設定為 true, IsContentProtectionEnabled 一律會傳回 true。

適用於