Class VideoSink.VideoSinkClass

All Implemented Interfaces:
Proxy
Enclosing class:
VideoSink

public static class VideoSink.VideoSinkClass extends BaseSink.BaseSinkClass
The video sink class structure. Derived classes should override the showFrame virtual function.
  • Constructor Details

    • VideoSinkClass

      public VideoSinkClass(MemorySegment address)
      Create a VideoSinkClass 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
    • overrideShowFrame

      public void overrideShowFrame(Arena arena, @Nullable Method method)
      Override virtual method show_frame.
      Parameters:
      method - the method to invoke
    • overrideSetInfo

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