Table of Contents

Class DeviceInfoPermissionRequest

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

DeviceInfoPermissionRequest(CreationData)

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

Parameters

data CreationData

DeviceInfoPermissionRequest(DeviceInfoPermissionRequestHandle)

protected DeviceInfoPermissionRequest(DeviceInfoPermissionRequestHandle handle)

Parameters

handle DeviceInfoPermissionRequestHandle

Methods

Allow()

public void Allow()

Deny()

public void Deny()

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed DeviceInfoPermissionRequest instance for a given pointer.

public static DeviceInfoPermissionRequest NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DeviceInfoPermissionRequest

NewWithProperties(ConstructArgument[])

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

public static DeviceInfoPermissionRequest NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

DeviceInfoPermissionRequest