Table of Contents

Class WebsiteDataAccessPermissionRequest

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

Constructors

WebsiteDataAccessPermissionRequest(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 WebsiteDataAccessPermissionRequest(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

WebsiteDataAccessPermissionRequest(CreationData)

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

Parameters

data CreationData

WebsiteDataAccessPermissionRequest(WebsiteDataAccessPermissionRequestHandle)

protected WebsiteDataAccessPermissionRequest(WebsiteDataAccessPermissionRequestHandle handle)

Parameters

handle WebsiteDataAccessPermissionRequestHandle

Methods

Allow()

public void Allow()

Deny()

public void Deny()

GetCurrentDomain()

[Version("2.30")]
public string GetCurrentDomain()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

GetRequestingDomain()

[Version("2.30")]
public string GetRequestingDomain()

Returns

string

NewFromPointer(nint, bool)

Creates a new managed WebsiteDataAccessPermissionRequest instance for a given pointer.

public static WebsiteDataAccessPermissionRequest NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

WebsiteDataAccessPermissionRequest

NewWithProperties(ConstructArgument[])

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

public static WebsiteDataAccessPermissionRequest NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

WebsiteDataAccessPermissionRequest