CookieManager.SetAcceptThirdPartyCookies(WebView, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether the WebView should allow third party cookies to be set.
[Android.Runtime.Register("setAcceptThirdPartyCookies", "(Landroid/webkit/WebView;Z)V", "GetSetAcceptThirdPartyCookies_Landroid_webkit_WebView_ZHandler")]
public abstract void SetAcceptThirdPartyCookies (Android.Webkit.WebView? webview, bool accept);
[<Android.Runtime.Register("setAcceptThirdPartyCookies", "(Landroid/webkit/WebView;Z)V", "GetSetAcceptThirdPartyCookies_Landroid_webkit_WebView_ZHandler")>]
abstract member SetAcceptThirdPartyCookies : Android.Webkit.WebView * bool -> unit
Parameters
- webview
- WebView
the WebView instance to set the cookie policy on
- accept
- Boolean
whether the WebView instance should accept
third party cookies
- Attributes
Remarks
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.