Sdílet prostřednictvím


CookieManager.AcceptThirdPartyCookies(WebView) Method

Definition

Gets whether the WebView should allow third party cookies to be set.

[Android.Runtime.Register("acceptThirdPartyCookies", "(Landroid/webkit/WebView;)Z", "GetAcceptThirdPartyCookies_Landroid_webkit_WebView_Handler")]
public abstract bool AcceptThirdPartyCookies (Android.Webkit.WebView? webview);
[<Android.Runtime.Register("acceptThirdPartyCookies", "(Landroid/webkit/WebView;)Z", "GetAcceptThirdPartyCookies_Landroid_webkit_WebView_Handler")>]
abstract member AcceptThirdPartyCookies : Android.Webkit.WebView -> bool

Parameters

webview
WebView

the WebView instance to get the cookie policy for

Returns

true if the WebView accepts third party cookies

Attributes

Remarks

Gets whether the WebView should allow third party cookies to be set.

Java documentation for android.webkit.CookieManager.acceptThirdPartyCookies(android.webkit.WebView).

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