Class ParamSpecArray

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

@Generated("org.javagi.JavaGI") public class ParamSpecArray extends ProxyInstance
A GParamSpec derived structure for arrays of values.
  • Constructor Details

    • ParamSpecArray

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

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

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

      public ParamSpecArray(ParamSpec parentInstance, ParamSpec elementSpec, Arena arena)
      Allocate a new ParamSpecArray with the fields set to the provided values.
      Parameters:
      parentInstance - value for the field parentInstance
      elementSpec - value for the field elementSpec
      arena - to control the memory allocation scope
    • ParamSpecArray

      public ParamSpecArray(ParamSpec parentInstance, ParamSpec elementSpec)
      Allocate a new ParamSpecArray with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      parentInstance - value for the field parentInstance
      elementSpec - value for the field elementSpec
  • Method Details

    • getMemoryLayout

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

      public @Nullable ParamSpec readParentInstance()
      Read the value of the field parent_instance.
      Returns:
      The value of the field parent_instance
    • writeParentInstance

      public void writeParentInstance(@Nullable ParamSpec parentInstance)
      Write a value in the field parent_instance.
      Parameters:
      parentInstance - The new value for the field parent_instance
    • readElementSpec

      public ParamSpec readElementSpec()
      Read the value of the field element_spec.
      Returns:
      The value of the field element_spec
    • writeElementSpec

      public void writeElementSpec(ParamSpec elementSpec)
      Write a value in the field element_spec.
      Parameters:
      elementSpec - The new value for the field element_spec