Enum Class ProgressType

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

@Generated("org.javagi.JavaGI") public enum ProgressType extends Enum<ProgressType> implements Enumeration
The type of a MessageType.PROGRESS. The progress messages inform the application of the status of asynchronous tasks.
  • Enum Constant Details

    • START

      public static final ProgressType START
      A new task started.
    • CONTINUE

      public static final ProgressType CONTINUE
      A task completed and a new one continues.
    • COMPLETE

      public static final ProgressType COMPLETE
      A task completed.
    • CANCELED

      public static final ProgressType CANCELED
      A task was canceled.
    • ERROR

      public static final ProgressType ERROR
      A task caused an error. An error message is also posted on the bus.
  • Method Details

    • values

      public static ProgressType[] 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 ProgressType 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 ProgressType of(int value)
      Create a new ProgressType 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 ProgressType of(MemorySegment address)
      Create a new ProgressType 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 ProgressType class.
      Returns:
      the GType