Class Tracer.TracerClass

All Implemented Interfaces:
Proxy
Enclosing class:
Tracer

public static class Tracer.TracerClass extends GstObject.ObjectClass
Since:
1.8
  • Constructor Details

    • TracerClass

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

    • getMemoryLayout

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

      public void setUseStructureParams(boolean useStructureParams)

      Sets whether the tracer should use structure parameters for configuration. This function configures how parameters should be passed when instantiating the tracer.

      This is typically called in the tracer's class initialization function to indicate its parameter handling preference.

      Parameters:
      useStructureParams - true to use structure parameters, false otherwise
      Since:
      1.26
    • usesStructureParams

      public boolean usesStructureParams()
      If set, the tracer subsystem will consider parameters passed to the GST_TRACERS environment variable as a GstStructure and use its fields as properties to instanciate the tracer.
      Returns:
      true if the tracer uses structure parameters, false otherwise
      Since:
      1.26