Enum Class CoreError

java.lang.Object
java.lang.Enum<CoreError>
org.freedesktop.gstreamer.gst.CoreError
All Implemented Interfaces:
Serializable, Comparable<CoreError>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum CoreError extends Enum<CoreError> implements Enumeration
Core errors are errors inside the core GStreamer library.
  • Enum Constant Details

    • FAILED

      public static final CoreError FAILED
      a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.
    • TOO_LAZY

      public static final CoreError TOO_LAZY
      do not use this except as a placeholder for deciding where to go while developing code.
    • NOT_IMPLEMENTED

      public static final CoreError NOT_IMPLEMENTED
      use this when you do not want to implement this functionality yet.
    • STATE_CHANGE

      public static final CoreError STATE_CHANGE
      used for state change errors.
    • PAD

      public static final CoreError PAD
      used for pad-related errors.
    • THREAD

      public static final CoreError THREAD
      used for thread-related errors.
    • NEGOTIATION

      public static final CoreError NEGOTIATION
      used for negotiation-related errors.
    • EVENT

      public static final CoreError EVENT
      used for event-related errors.
    • SEEK

      public static final CoreError SEEK
      used for seek-related errors.
    • CAPS

      public static final CoreError CAPS
      used for caps-related errors.
    • TAG

      public static final CoreError TAG
      used for negotiation-related errors.
    • MISSING_PLUGIN

      public static final CoreError MISSING_PLUGIN
      used if a plugin is missing.
    • CLOCK

      public static final CoreError CLOCK
      used for clock related errors.
    • DISABLED

      public static final CoreError DISABLED
      used if functionality has been disabled at compile time.
    • NUM_ERRORS

      public static final CoreError NUM_ERRORS
      the number of core error types.
  • Method Details

    • values

      public static CoreError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CoreError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static CoreError of(int value)
      Create a new CoreError for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static CoreError of(MemorySegment address)
      Create a new CoreError for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the CoreError class.
      Returns:
      the GType
    • quark

      public static Quark quark()