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
constructArgumentsConstructArgument[]
CookieManager(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CookieManager(CreationData data)
Parameters
dataCreationData
CookieManager(CookieManagerHandle)
protected CookieManager(CookieManagerHandle handle)
Parameters
handleCookieManagerHandle
Fields
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<CookieManager> ChangedSignal
Field Value
Methods
AddCookieFinish(AsyncResult)
[Version("2.20")]
public bool AddCookieFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
DeleteCookieFinish(AsyncResult)
[Version("2.20")]
public bool DeleteCookieFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
GetAcceptPolicyFinish(AsyncResult)
public CookieAcceptPolicy GetAcceptPolicyFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
GetAllCookiesFinish(AsyncResult)
[Version("2.42")]
public List GetAllCookiesFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
GetCookiesFinish(AsyncResult)
[Version("2.20")]
public List GetCookiesFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed CookieManager instance for a given pointer.
public static CookieManager NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new CookieManager and sets the properties specified by the construct arguments.
public static CookieManager NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
ReplaceCookiesFinish(AsyncResult)
[Version("2.42")]
public bool ReplaceCookiesFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
SetAcceptPolicy(CookieAcceptPolicy)
public void SetAcceptPolicy(CookieAcceptPolicy policy)
Parameters
policyCookieAcceptPolicy
SetPersistentStorage(string, CookiePersistentStorage)
public void SetPersistentStorage(string filename, CookiePersistentStorage storage)
Parameters
filenamestringstorageCookiePersistentStorage
Events
OnChanged
public event SignalHandler<CookieManager> OnChanged