Table of Contents

Class NativeVolumeMonitor

Namespace
Gio
Assembly
Gio-2.0.dll
public class NativeVolumeMonitor : VolumeMonitor, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
NativeVolumeMonitor
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

NativeVolumeMonitor(CreationData)

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

Parameters

data CreationData

NativeVolumeMonitor(NativeVolumeMonitorHandle)

protected NativeVolumeMonitor(NativeVolumeMonitorHandle handle)

Parameters

handle NativeVolumeMonitorHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed NativeVolumeMonitor instance for a given pointer.

public static NativeVolumeMonitor NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

NativeVolumeMonitor

NewWithProperties(ConstructArgument[])

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

public static NativeVolumeMonitor NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

NativeVolumeMonitor