Class TypeFindData

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

@Generated("org.javagi.JavaGI") public class TypeFindData extends ProxyInstance
The opaque GstTypeFindData structure.
Since:
1.22
  • Constructor Details

    • TypeFindData

      public TypeFindData(MemorySegment address)
      Create a TypeFindData 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
    • new_

      public static TypeFindData new_(@Nullable GstObject obj, @Nullable byte @Nullable [] data)
      Free-function: gst_type_find_data_free
      Parameters:
      obj - object doing the typefinding, or null (used for logging)
      data - a pointer with data to typefind
      Returns:
      the GstTypeFindData. The caller should free the returned GstTypeFindData with gst_type_find_data_free().
      Since:
      1.22
    • free

      public void free()
    • getCaps

      public @Nullable Caps getCaps()
      Returns GstCaps associated with GstTypeFindData
      Returns:
      GstCaps.
      Since:
      1.22
    • getProbability

      public TypeFindProbability getProbability()
      Returns GstTypeFindProbability associated with GstTypeFindData
      Returns:
      GstTypeFindProbability.
      Since:
      1.22
    • getTypefind

      public TypeFind getTypefind()
      Returns GstTypeFind associated with GstTypeFindData
      Returns:
      GstTypeFind.
      Since:
      1.22