Enum Class StreamFlags

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

@Generated("org.javagi.JavaGI") public enum StreamFlags extends Enum<StreamFlags> implements Enumeration
  • Enum Constant Details

    • NONE

      public static final StreamFlags NONE
      This stream has no special attributes
    • SPARSE

      public static final StreamFlags SPARSE
      This stream is a sparse stream (e.g. a subtitle stream), data may flow only in irregular intervals with large gaps in between.
    • SELECT

      public static final StreamFlags SELECT
      This stream should be selected by default. This flag may be used by demuxers to signal that a stream should be selected by default in a playback scenario.
    • UNSELECT

      public static final StreamFlags UNSELECT
      This stream should not be selected by default. This flag may be used by demuxers to signal that a stream should not be selected by default in a playback scenario, but only if explicitly selected by the user (e.g. an audio track for the hard of hearing or a director's commentary track).
  • Method Details

    • values

      public static StreamFlags[] 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 StreamFlags 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<StreamFlags> of(int flags)
      Create a new EnumSet<StreamFlags> for the provided bitfield
      Parameters:
      flags - the StreamFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<StreamFlags> of(MemorySegment address)
      Create a new EnumSet<StreamFlags> 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 StreamFlags class.
      Returns:
      the GType