Table of Contents

Class WebsitePolicies

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

WebsitePolicies(CreationData)

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

Parameters

data CreationData

WebsitePolicies(WebsitePoliciesHandle)

protected WebsitePolicies(WebsitePoliciesHandle handle)

Parameters

handle WebsitePoliciesHandle

Fields

AutoplayPropertyDefinition

public static readonly Property<AutoplayPolicy, WebsitePolicies> AutoplayPropertyDefinition

Field Value

Property<AutoplayPolicy, WebsitePolicies>

Properties

Autoplay

public AutoplayPolicy Autoplay { get; }

Property Value

AutoplayPolicy

Methods

GetAutoplayPolicy()

[Version("2.30")]
public AutoplayPolicy GetAutoplayPolicy()

Returns

AutoplayPolicy

GetGType()

public static Type GetGType()

Returns

Type

New()

[Version("2.30")]
public static WebsitePolicies New()

Returns

WebsitePolicies

NewFromPointer(nint, bool)

Creates a new managed WebsitePolicies instance for a given pointer.

public static WebsitePolicies NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

WebsitePolicies

NewWithProperties(ConstructArgument[])

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

public static WebsitePolicies NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

WebsitePolicies