Table of Contents

Class AutomationSession

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

AutomationSession(CreationData)

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

Parameters

data CreationData

AutomationSession(AutomationSessionHandle)

protected AutomationSession(AutomationSessionHandle handle)

Parameters

handle AutomationSessionHandle

Fields

CreateWebViewSignal

Signal Descriptor for OnCreateWebView.

public static readonly ReturningSignal<AutomationSession, WebView> CreateWebViewSignal

Field Value

ReturningSignal<AutomationSession, WebView>

IdPropertyDefinition

public static readonly Property<string?, AutomationSession> IdPropertyDefinition

Field Value

Property<string, AutomationSession>

WillCloseSignal

Signal Descriptor for OnWillClose.

public static readonly Signal<AutomationSession> WillCloseSignal

Field Value

Signal<AutomationSession>

Properties

Id

public string? Id { get; }

Property Value

string

Methods

GetApplicationInfo()

[Version("2.18")]
public ApplicationInfo GetApplicationInfo()

Returns

ApplicationInfo

GetGType()

public static Type GetGType()

Returns

Type

GetId()

[Version("2.18")]
public string GetId()

Returns

string

NewFromPointer(nint, bool)

Creates a new managed AutomationSession instance for a given pointer.

public static AutomationSession NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

AutomationSession

NewWithProperties(ConstructArgument[])

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

public static AutomationSession NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

AutomationSession

SetApplicationInfo(ApplicationInfo)

[Version("2.18")]
public void SetApplicationInfo(ApplicationInfo info)

Parameters

info ApplicationInfo

Events

OnCreateWebView

public event ReturningSignalHandler<AutomationSession, WebView> OnCreateWebView

Event Type

ReturningSignalHandler<AutomationSession, WebView>

OnWillClose

public event SignalHandler<AutomationSession> OnWillClose

Event Type

SignalHandler<AutomationSession>