Package org.freedesktop.gstreamer.gst
Class ParamSpecArray
java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.gst.ParamSpecArray
-
Constructor Summary
ConstructorsConstructorDescriptionAllocate a new ParamSpecArray.ParamSpecArray(Arena arena) Allocate a new ParamSpecArray.ParamSpecArray(MemorySegment address) Create a ParamSpecArray proxy instance for the provided memory address.ParamSpecArray(ParamSpec parentInstance, ParamSpec elementSpec) Allocate a new ParamSpecArray with the fields set to the provided values.ParamSpecArray(ParamSpec parentInstance, ParamSpec elementSpec, Arena arena) Allocate a new ParamSpecArray with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.Read the value of the fieldelement_spec.@Nullable ParamSpecRead the value of the fieldparent_instance.voidwriteElementSpec(ParamSpec elementSpec) Write a value in the fieldelement_spec.voidwriteParentInstance(@Nullable ParamSpec parentInstance) Write a value in the fieldparent_instance.Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
ParamSpecArray
Create a ParamSpecArray proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
ParamSpecArray
Allocate a new ParamSpecArray.- Parameters:
arena- to control the memory allocation scope
-
ParamSpecArray
public ParamSpecArray()Allocate a new ParamSpecArray. The memory is allocated withArena.ofAuto(). -
ParamSpecArray
Allocate a new ParamSpecArray with the fields set to the provided values.- Parameters:
parentInstance- value for the fieldparentInstanceelementSpec- value for the fieldelementSpecarena- to control the memory allocation scope
-
ParamSpecArray
Allocate a new ParamSpecArray with the fields set to the provided values. The memory is allocated withArena.ofAuto().- Parameters:
parentInstance- value for the fieldparentInstanceelementSpec- value for the fieldelementSpec
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readParentInstance
Read the value of the fieldparent_instance.- Returns:
- The value of the field
parent_instance
-
writeParentInstance
Write a value in the fieldparent_instance.- Parameters:
parentInstance- The new value for the fieldparent_instance
-
readElementSpec
Read the value of the fieldelement_spec.- Returns:
- The value of the field
element_spec
-
writeElementSpec
Write a value in the fieldelement_spec.- Parameters:
elementSpec- The new value for the fieldelement_spec
-