Class UserMessage
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class UserMessage : InitiallyUnowned, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
UserMessage
- Implements
- Inherited Members
Constructors
UserMessage(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 UserMessage(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
UserMessage(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected UserMessage(CreationData data)
Parameters
dataCreationData
UserMessage(UserMessageHandle)
protected UserMessage(UserMessageHandle handle)
Parameters
handleUserMessageHandle
Fields
FdListPropertyDefinition
public static readonly Property<UnixFDList?, UserMessage> FdListPropertyDefinition
Field Value
NamePropertyDefinition
public static readonly Property<string?, UserMessage> NamePropertyDefinition
Field Value
Properties
FdList
public UnixFDList? FdList { get; }
Property Value
Name
public string? Name { get; }
Property Value
Methods
GetFdList()
[Version("2.28")]
public UnixFDList? GetFdList()
Returns
GetGType()
public static Type GetGType()
Returns
GetName()
[Version("2.28")]
public string GetName()
Returns
GetParameters()
[Version("2.28")]
public Variant? GetParameters()
Returns
New(string, Variant?)
[Version("2.28")]
public static UserMessage New(string name, Variant? parameters)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed UserMessage instance for a given pointer.
public static UserMessage NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithFdList(string, Variant?, UnixFDList?)
[Version("2.28")]
public static UserMessage NewWithFdList(string name, Variant? parameters, UnixFDList? fdList)
Parameters
namestringparametersVariantfdListUnixFDList
Returns
NewWithProperties(ConstructArgument[])
Creates a new UserMessage and sets the properties specified by the construct arguments.
public static UserMessage NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SendReply(UserMessage)
[Version("2.28")]
public void SendReply(UserMessage reply)
Parameters
replyUserMessage