Partager via


CookieManager.AcceptCookie Method

Definition

Gets whether the application's WebView instances send and accept cookies.

[Android.Runtime.Register("acceptCookie", "()Z", "GetAcceptCookieHandler")]
public abstract bool AcceptCookie ();
[<Android.Runtime.Register("acceptCookie", "()Z", "GetAcceptCookieHandler")>]
abstract member AcceptCookie : unit -> bool

Returns

true if WebView instances send and accept cookies

Attributes

Remarks

Gets whether the application's WebView instances send and accept cookies.

Java documentation for android.webkit.CookieManager.acceptCookie().

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