Class AppSrcCallbacks

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.app.AppSrcCallbacks
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class AppSrcCallbacks extends ProxyInstance
A set of callbacks that can be installed on the appsrc with gst_app_src_set_callbacks().
  • Constructor Details

    • AppSrcCallbacks

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

      public AppSrcCallbacks(Arena arena)
      Allocate a new AppSrcCallbacks.
      Parameters:
      arena - to control the memory allocation scope
    • AppSrcCallbacks

      public AppSrcCallbacks()
      Allocate a new AppSrcCallbacks. The memory is allocated with Arena.ofAuto().
  • Method Details

    • getMemoryLayout

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

      public void overrideNeedData(AppSrcCallbacks.NeedDataCallback needData, Arena _arena)
      Write a value in the field need_data.
      Parameters:
      needData - The new value for the field need_data
      _arena - to control the memory allocation scope
    • overrideEnoughData

      public void overrideEnoughData(AppSrcCallbacks.EnoughDataCallback enoughData, Arena _arena)
      Write a value in the field enough_data.
      Parameters:
      enoughData - The new value for the field enough_data
      _arena - to control the memory allocation scope
    • overrideSeekData

      public void overrideSeekData(AppSrcCallbacks.SeekDataCallback seekData, Arena _arena)
      Write a value in the field seek_data.
      Parameters:
      seekData - The new value for the field seek_data
      _arena - to control the memory allocation scope