語言

WebSettings.MixedContentNeverAllow 欄位

定義

警告

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_NEVER_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 MixedContentNeverAllow = 1;
[<Android.Runtime.Register("MIXED_CONTENT_NEVER_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 MixedContentNeverAllow : Android.Webkit.MixedContentHandling

欄位值

Value = 1
屬性

備註

在此模式下,WebView 不會允許安全來源載入來自不安全來源的內容。 這是 WebView 最優先且最安全的操作模式,強烈建議應用程式使用此模式。

Java 文件 android.webkit.WebSettings.MIXED_CONTENT_NEVER_ALLOW。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於