Klasse DebugCategory

Alle implementierten Schnittstellen:
PointerInterface

public class DebugCategory extends Record
This is the struct that describes the categories. Once initialized with
#GST_DEBUG_CATEGORY_INIT, its values can't be changed anymore.

https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html

  • Felddetails

  • Konstruktordetails

    • DebugCategory

      public DebugCategory(PointerContainer pointer)
    • DebugCategory

      public DebugCategory()
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getFieldThreshold

      public int getFieldThreshold()
    • getFieldColor

      public int getFieldColor()
    • getFieldName

      public Str getFieldName()
    • getFieldDescription

      public Str getFieldDescription()
    • free

      @Deprecated public void free()
      Veraltet.
      Removes and frees the category and all associated resources.
    • getColor

      public int getColor()
      Returns the color of a debug category used when printing output in this
      category.
      Gibt zurück:
      the color of the category.
    • getDescription

      public Str getDescription()
      Returns the description of a debug category.
      Gibt zurück:
      the description of the category.
    • getName

      public Str getName()
      Returns the name of a debug category.
      Gibt zurück:
      the name of the category.
    • getThreshold

      public int getThreshold()
      Returns the threshold of a #GstDebugCategory.
      Gibt zurück:
      the #GstDebugLevel that is used as threshold.
    • resetThreshold

      public void resetThreshold()
      Resets the threshold of the category to the default level. Debug information
      will only be output if the threshold is lower or equal to the level of the
      debugging message.
      Use this function to set the threshold back to where it was after using
      gst_debug_category_set_threshold().
    • setThreshold

      public void setThreshold(int level)
      Sets the threshold of the category to the given level. Debug information will
      only be output if the threshold is lower or equal to the level of the
      debugging message.
      > Do not use this function in production code, because other functions may
      > change the threshold of categories as side effect. It is however a nice
      > function to use when debugging (even from gdb).
      Parameter:
      level - the #GstDebugLevel threshold to set.