语言

DevicePolicyManager.ContentProtectionEnabled 字段

定义

注意

This constant will be removed in the future version. Use Android.App.Admin.ContentProtectionPolicy enum directly instead of this field.

指示内容保护由策略控制并启用。

[Android.Runtime.Register("CONTENT_PROTECTION_ENABLED", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.ContentProtectionPolicy enum directly instead of this field.", true)]
public const Android.App.Admin.ContentProtectionPolicy ContentProtectionEnabled = 2;
[<Android.Runtime.Register("CONTENT_PROTECTION_ENABLED", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.ContentProtectionPolicy enum directly instead of this field.", true)>]
val mutable ContentProtectionEnabled : Android.App.Admin.ContentProtectionPolicy

字段值

Value = 2
特性

注解

指示内容保护由策略控制并启用。

Java文档android.app.admin.DevicePolicyManager.CONTENT_PROTECTION_ENABLED。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于