Sdílet prostřednictvím


WebSettings.MixedContentNeverAllow Field

Definition

Caution

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

In this mode, the WebView will not allow a secure origin to load content from an insecure origin.

[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

Field Value

Value = 1
Attributes

Remarks

In this mode, the WebView will not allow a secure origin to load content from an insecure origin. This is the preferred and most secure mode of operation for the WebView and apps are strongly advised to use this mode.

Java documentation for android.webkit.WebSettings.MIXED_CONTENT_NEVER_ALLOW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to