Table of Contents

Class CookieManager

Namespace
Android.Webkit
Assembly
MASES.Netdroid.dll
public class CookieManager : JVMBridgeBase<CookieManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
CookieManager
Implements
Extension Methods

Constructors

CookieManager()

[Obsolete("Deprecated in JVM")]
public CookieManager()

CookieManager(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CookieManager(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AcceptCookie()

public bool AcceptCookie()

Returns

bool

bool

AcceptThirdPartyCookies(WebView)

public bool AcceptThirdPartyCookies(WebView arg0)

Parameters

arg0 WebView

WebView

Returns

bool

bool

AllowFileSchemeCookies()

public static bool AllowFileSchemeCookies()

Returns

bool

bool

CreatePoolableInstance()

HPA initializer for CookieManager()

public static CookieManager CreatePoolableInstance()

Returns

CookieManager

Flush()

public void Flush()

GetCookie(String)

public String GetCookie(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetInstance()

public static CookieManager GetInstance()

Returns

CookieManager

CookieManager

HasCookies()

public bool HasCookies()

Returns

bool

bool

RemoveAllCookie()

[Obsolete("Deprecated in JVM")]
public void RemoveAllCookie()

RemoveAllCookies(ValueCallback<Boolean>)

public void RemoveAllCookies(ValueCallback<Boolean> arg0)

Parameters

arg0 ValueCallback<Boolean>

ValueCallback

RemoveExpiredCookie()

[Obsolete("Deprecated in JVM")]
public void RemoveExpiredCookie()

RemoveSessionCookie()

[Obsolete("Deprecated in JVM")]
public void RemoveSessionCookie()

RemoveSessionCookies(ValueCallback<Boolean>)

public void RemoveSessionCookies(ValueCallback<Boolean> arg0)

Parameters

arg0 ValueCallback<Boolean>

ValueCallback

SetAcceptCookie(bool)

public void SetAcceptCookie(bool arg0)

Parameters

arg0 bool

bool

SetAcceptFileSchemeCookies(bool)

[Obsolete("Deprecated in JVM")]
public static void SetAcceptFileSchemeCookies(bool arg0)

Parameters

arg0 bool

bool

SetAcceptThirdPartyCookies(WebView, bool)

public void SetAcceptThirdPartyCookies(WebView arg0, bool arg1)

Parameters

arg0 WebView

WebView

arg1 bool

bool

SetCookie(String, String)

public void SetCookie(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

SetCookie(String, String, ValueCallback<Boolean>)

public void SetCookie(String arg0, String arg1, ValueCallback<Boolean> arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 ValueCallback<Boolean>

ValueCallback