Package org.freedesktop.gstreamer.gst
Class ParamSpecArray
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.gstreamer.gst.ParamSpecArray
-
Constructor Summary
ConstructorDescriptionAllocate 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 MemoryLayout
The memory layout of the native struct.Read the value of the fieldelement_spec
.Read the value of the fieldparent_instance
.void
writeElementSpec
(ParamSpec elementSpec) Write a value in the fieldelement_spec
.void
writeParentInstance
(ParamSpec parentInstance) Write a value in the fieldparent_instance
.Methods inherited from class io.github.jwharm.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 fieldparentInstance
elementSpec
- value for the fieldelementSpec
arena
- 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 fieldparentInstance
elementSpec
- 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
-