WebSettings.MixedContentAlwaysAllow 字段

定义

注意

This constant will be removed in the future version. Use Android.Webkit.MixedContentHandling enum directly instead of this field.

在此模式下,WebView 将允许安全源从任何其他源加载内容,即使该源不安全。

[Android.Runtime.Register("MIXED_CONTENT_ALWAYS_ALLOW")]
[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 MixedContentAlwaysAllow = 0;
[<Android.Runtime.Register("MIXED_CONTENT_ALWAYS_ALLOW")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Webkit.MixedContentHandling enum directly instead of this field.", true)>]
val mutable MixedContentAlwaysAllow : Android.Webkit.MixedContentHandling

字段值

Value = 0
属性

注解

在此模式下,WebView 将允许安全源从任何其他源加载内容,即使该源不安全。 这是 WebView 操作的最低安全模式,在可能的情况下,应用不应设置此模式。

适用于 . 的 android.webkit.WebSettings.MIXED_CONTENT_ALWAYS_ALLOWJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于