Enum Class DiscovererResult

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

@Generated("org.javagi.JavaGI") public enum DiscovererResult extends Enum<DiscovererResult> implements Enumeration
Result values for the discovery process.
  • Enum Constant Details

    • OK

      public static final DiscovererResult OK
      The discovery was successful
    • URI_INVALID

      public static final DiscovererResult URI_INVALID
      the URI is invalid
    • ERROR

      public static final DiscovererResult ERROR
      an error happened and the GError is set
    • TIMEOUT

      public static final DiscovererResult TIMEOUT
      the discovery timed-out
    • BUSY

      public static final DiscovererResult BUSY
      the discoverer was already discovering a file
    • MISSING_PLUGINS

      public static final DiscovererResult MISSING_PLUGINS
      Some plugins are missing for full discovery
  • Method Details

    • values

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