Table of Contents

Class NotificationPermissionRequest

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

NotificationPermissionRequest(CreationData)

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

Parameters

data CreationData

NotificationPermissionRequest(NotificationPermissionRequestHandle)

protected NotificationPermissionRequest(NotificationPermissionRequestHandle handle)

Parameters

handle NotificationPermissionRequestHandle

Methods

Allow()

public void Allow()

Deny()

public void Deny()

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed NotificationPermissionRequest instance for a given pointer.

public static NotificationPermissionRequest NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

NotificationPermissionRequest

NewWithProperties(ConstructArgument[])

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

public static NotificationPermissionRequest NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

NotificationPermissionRequest