Java.Net.CookieManager.SetCookiePolicy Method
Sets the cookie policy of this cookie manager.

Syntax

[Android.Runtime.Register("setCookiePolicy", "(Ljava/net/CookiePolicy;)V", "GetSetCookiePolicy_Ljava_net_CookiePolicy_Handler")]
public virtual void SetCookiePolicy (ICookiePolicy cookiePolicy)

Parameters

cookiePolicy
the cookie policy. if null, the original policy will not be changed.

Remarks

Sets the cookie policy of this cookie manager. ACCEPT_ORIGINAL_SERVER is the default policy for CookieManager.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9