WebSettings.MixedContentCompatibilityMode 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Webkit.MixedContentHandling enum directly instead of this field.
在此模式下,WebView 将尝试与新式 Web 浏览器在混合内容方面的方法兼容。
[Android.Runtime.Register("MIXED_CONTENT_COMPATIBILITY_MODE")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Webkit.MixedContentHandling enum directly instead of this field.", true)]
public const Android.Webkit.MixedContentHandling MixedContentCompatibilityMode = 2;
[<Android.Runtime.Register("MIXED_CONTENT_COMPATIBILITY_MODE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Webkit.MixedContentHandling enum directly instead of this field.", true)>]
val mutable MixedContentCompatibilityMode : Android.Webkit.MixedContentHandling
字段值
Value = 2- 特性
注解
在此模式下,WebView 将尝试与新式 Web 浏览器在混合内容方面的方法兼容。 某些不安全的内容可能被安全源加载,其他类型的内容将被阻止。 允许或阻止内容类型可能会将发布更改为发布,并且未显式定义。
此模式旨在由不控制它们呈现的内容但希望在合理安全的环境中运行的应用使用。 为了获得最高安全性,建议使用 #MIXED_CONTENT_NEVER_ALLOW应用。
Java文档android.webkit.WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。