Class NativeVolumeMonitor

All Implemented Interfaces:
Proxy
Direct Known Subclasses:
NativeVolumeMonitor.NativeVolumeMonitor$Impl

@Generated("org.javagi.JavaGI") public abstract class NativeVolumeMonitor extends VolumeMonitor
  • Constructor Details

    • NativeVolumeMonitor

      public NativeVolumeMonitor(MemorySegment address)
      Create a NativeVolumeMonitor instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • NativeVolumeMonitor

      public NativeVolumeMonitor()
      Create a new NativeVolumeMonitor.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the NativeVolumeMonitor class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected NativeVolumeMonitor asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class VolumeMonitor
      Returns:
      the instance as if it were its parent type