Enum Class URIError

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

@Generated("org.javagi.JavaGI") public enum URIError extends Enum<URIError> implements Enumeration
Different URI-related errors that can occur.
  • Enum Constant Details

    • UNSUPPORTED_PROTOCOL

      public static final URIError UNSUPPORTED_PROTOCOL
      The protocol is not supported
    • BAD_URI

      public static final URIError BAD_URI
      There was a problem with the URI
    • BAD_STATE

      public static final URIError BAD_STATE
      Could not set or change the URI because the URI handler was in a state where that is not possible or not permitted
    • BAD_REFERENCE

      public static final URIError BAD_REFERENCE
      There was a problem with the entity that the URI references
  • Method Details

    • values

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

      public static Quark quark()