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
constructArgumentsConstructArgument[]
WebsiteDataAccessPermissionRequest(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WebsiteDataAccessPermissionRequest(CreationData data)
Parameters
dataCreationData
WebsiteDataAccessPermissionRequest(WebsiteDataAccessPermissionRequestHandle)
protected WebsiteDataAccessPermissionRequest(WebsiteDataAccessPermissionRequestHandle handle)
Parameters
Methods
Allow()
public void Allow()
Deny()
public void Deny()
GetCurrentDomain()
[Version("2.30")]
public string GetCurrentDomain()
Returns
GetGType()
public static Type GetGType()
Returns
GetRequestingDomain()
[Version("2.30")]
public string GetRequestingDomain()
Returns
NewFromPointer(nint, bool)
Creates a new managed WebsiteDataAccessPermissionRequest instance for a given pointer.
public static WebsiteDataAccessPermissionRequest NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WebsiteDataAccessPermissionRequest and sets the properties specified by the construct arguments.
public static WebsiteDataAccessPermissionRequest NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.