Table of Contents

Class PolicyDecision

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

PolicyDecision(CreationData)

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

Parameters

data CreationData

PolicyDecision(PolicyDecisionHandle)

protected PolicyDecision(PolicyDecisionHandle handle)

Parameters

handle PolicyDecisionHandle

Methods

Download()

public void Download()

GetGType()

public static Type GetGType()

Returns

Type

Ignore()

public void Ignore()

NewFromPointer(nint, bool)

Creates a new managed PolicyDecision instance for a given pointer.

public static PolicyDecision NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

PolicyDecision

NewWithProperties(ConstructArgument[])

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

public static PolicyDecision NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

PolicyDecision

Use()

public void Use()

UseWithPolicies(WebsitePolicies)

[Version("2.30")]
public void UseWithPolicies(WebsitePolicies policies)

Parameters

policies WebsitePolicies