Class MediaFile.MediaFileClass

All Implemented Interfaces:
Proxy
Enclosing class:
MediaFile

public static class MediaFile.MediaFileClass extends MediaStream.MediaStreamClass
  • Constructor Details

    • MediaFileClass

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

    • getMemoryLayout

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

      public void overrideOpen(Arena arena, @Nullable Method method)
      Override virtual method open.
      Parameters:
      method - the method to invoke
    • overrideClose

      public void overrideClose(Arena arena, @Nullable Method method)
      Override virtual method close.
      Parameters:
      method - the method to invoke