Class PadProbeInfo

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.gst.PadProbeInfo
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class PadProbeInfo extends ProxyInstance
Info passed in the GstPadProbeCallback.
  • Constructor Details

    • PadProbeInfo

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

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

      public PadProbeInfo()
      Allocate a new PadProbeInfo. The memory is allocated with Arena.ofAuto().
    • PadProbeInfo

      public PadProbeInfo(Set<PadProbeType> type, int id, MemorySegment data, long offset, int size, Arena arena)
      Allocate a new PadProbeInfo with the fields set to the provided values.
      Parameters:
      type - value for the field type
      id - value for the field id
      data - value for the field data
      offset - value for the field offset
      size - value for the field size
      arena - to control the memory allocation scope
    • PadProbeInfo

      public PadProbeInfo(Set<PadProbeType> type, int id, MemorySegment data, long offset, int size)
      Allocate a new PadProbeInfo with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      type - value for the field type
      id - value for the field id
      data - value for the field data
      offset - value for the field offset
      size - value for the field size
  • Method Details

    • getMemoryLayout

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

      public Set<PadProbeType> readType()
      Read the value of the field type.
      Returns:
      The value of the field type
    • writeType

      public void writeType(Set<PadProbeType> type)
      Write a value in the field type.
      Parameters:
      type - The new value for the field type
    • readId

      public int readId()
      Read the value of the field id.
      Returns:
      The value of the field id
    • writeId

      public void writeId(int id)
      Write a value in the field id.
      Parameters:
      id - The new value for the field id
    • readData

      public MemorySegment readData()
      Read the value of the field data.
      Returns:
      The value of the field data
    • writeData

      public void writeData(MemorySegment data)
      Write a value in the field data.
      Parameters:
      data - The new value for the field data
    • readOffset

      public long readOffset()
      Read the value of the field offset.
      Returns:
      The value of the field offset
    • writeOffset

      public void writeOffset(long offset)
      Write a value in the field offset.
      Parameters:
      offset - The new value for the field offset
    • readSize

      public int readSize()
      Read the value of the field size.
      Returns:
      The value of the field size
    • writeSize

      public void writeSize(int size)
      Write a value in the field size.
      Parameters:
      size - The new value for the field size
    • getBuffer

      public @Nullable Buffer getBuffer()
    • getBufferList

      public @Nullable BufferList getBufferList()
    • getEvent

      public @Nullable Event getEvent()
    • getQuery

      public @Nullable Query getQuery()