Enum Class BinFlags

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

@Generated("org.javagi.JavaGI") public enum BinFlags extends Enum<BinFlags> implements Enumeration
GstBinFlags are a set of flags specific to bins. Most are set/used internally. They can be checked using the GST_OBJECT_FLAG_IS_SET() macro, and (un)set using GST_OBJECT_FLAG_SET() and GST_OBJECT_FLAG_UNSET().
  • Enum Constant Details

    • NO_RESYNC

      public static final BinFlags NO_RESYNC
      Don't resync a state change when elements are added or linked in the bin
      Since:
      1.0.5
    • STREAMS_AWARE

      public static final BinFlags STREAMS_AWARE
      Indicates whether the bin can handle elements that add/remove source pads at any point in time without first posting a no-more-pads signal.
      Since:
      1.10
    • LAST

      public static final BinFlags LAST
      The last enum in the series of flags for bins. Derived classes can use this as first value in a list of flags.
  • Method Details

    • values

      public static BinFlags[] 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 BinFlags 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
    • getValue

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

      public static Set<BinFlags> of(int flags)
      Create a new EnumSet<BinFlags> for the provided bitfield
      Parameters:
      flags - the BinFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<BinFlags> of(MemorySegment address)
      Create a new EnumSet<BinFlags> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address
    • getType

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