Table of Contents

Class CookieManager

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class CookieManager : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
CookieManager
Implements
Inherited Members

Constructors

CookieManager(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public CookieManager(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

CookieManager(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CookieManager(CreationData data)

Parameters

data CreationData

CookieManager(CookieManagerHandle)

protected CookieManager(CookieManagerHandle handle)

Parameters

handle CookieManagerHandle

Fields

ChangedSignal

Signal Descriptor for OnChanged.

public static readonly Signal<CookieManager> ChangedSignal

Field Value

Signal<CookieManager>

Methods

AddCookieFinish(AsyncResult)

[Version("2.20")]
public bool AddCookieFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

DeleteCookieFinish(AsyncResult)

[Version("2.20")]
public bool DeleteCookieFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

GetAcceptPolicyFinish(AsyncResult)

public CookieAcceptPolicy GetAcceptPolicyFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

CookieAcceptPolicy

GetAllCookiesFinish(AsyncResult)

[Version("2.42")]
public List GetAllCookiesFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

List

GetCookiesFinish(AsyncResult)

[Version("2.20")]
public List GetCookiesFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

List

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed CookieManager instance for a given pointer.

public static CookieManager NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

CookieManager

NewWithProperties(ConstructArgument[])

Creates a new CookieManager and sets the properties specified by the construct arguments.

public static CookieManager NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

CookieManager

ReplaceCookiesFinish(AsyncResult)

[Version("2.42")]
public bool ReplaceCookiesFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

SetAcceptPolicy(CookieAcceptPolicy)

public void SetAcceptPolicy(CookieAcceptPolicy policy)

Parameters

policy CookieAcceptPolicy

SetPersistentStorage(string, CookiePersistentStorage)

public void SetPersistentStorage(string filename, CookiePersistentStorage storage)

Parameters

filename string
storage CookiePersistentStorage

Events

OnChanged

public event SignalHandler<CookieManager> OnChanged

Event Type

SignalHandler<CookieManager>