WebSettings.MixedContentCompatibilityMode 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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_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 將嘗試與現代網頁瀏覽器在混合內容方面相容。 部分不安全內容可能被安全來源允許載入,其他類型的內容則會被封鎖。 允許或封鎖的內容類型可能會因版本而異,且未明確定義。
此模式設計給那些無法控制所呈現內容,但希望在合理安全環境中運作的應用程式使用。 為了達到最高安全性,建議使用 #MIXED_CONTENT_NEVER_ALLOW應用程式。
Java 文件 android.webkit.WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。