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
constructArgumentsConstructArgument[]
NativeVolumeMonitor(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected NativeVolumeMonitor(CreationData data)
Parameters
dataCreationData
NativeVolumeMonitor(NativeVolumeMonitorHandle)
protected NativeVolumeMonitor(NativeVolumeMonitorHandle handle)
Parameters
handleNativeVolumeMonitorHandle
Methods
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed NativeVolumeMonitor instance for a given pointer.
public static NativeVolumeMonitor NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new NativeVolumeMonitor and sets the properties specified by the construct arguments.
public static NativeVolumeMonitor NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.